public interface MetaAttributes
Modifier and Type | Method and Description |
---|---|
default <T> T |
getAttribute(String name)
Gets meta attribute with given name.
|
Map<String,Object> |
getMetaStorage()
Implementation should return an instance of the map to store meta attributes.
|
default boolean |
hasAttribute(String name)
Checks if given meta attribute is present.
|
default boolean |
removeAttribute(String name)
Removes meta attribute with given name.
|
default <T> void |
setAttribute(String name,
T val)
Sets meta attribute with given name and value.
|
Map<String,Object> getMetaStorage()
default <T> T getAttribute(String name)
T
- Attribute's type.name
- Name of the vector meta attribute to get.default <T> void setAttribute(String name, T val)
T
- Attribute's type.name
- Name of the meta attribute.val
- Attribute value.default boolean removeAttribute(String name)
name
- Name of the meta attribute.true
if attribute was present and was removed, false
otherwise.default boolean hasAttribute(String name)
name
- Attribute name to check.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024