Package alluxio.master.file.meta.xattr
Class AbstractExtendedAttribute<T>
- java.lang.Object
-
- alluxio.master.file.meta.xattr.AbstractExtendedAttribute<T>
-
- Type Parameters:
T
- The type which the attribute should encode from, and decode to
- All Implemented Interfaces:
ExtendedAttribute<T>
public abstract class AbstractExtendedAttribute<T> extends java.lang.Object implements ExtendedAttribute<T>
Extend this class to implement any extended attributes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface alluxio.master.file.meta.xattr.ExtendedAttribute
ExtendedAttribute.NamespacePrefix
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIdentifier()
java.lang.String
getName()
java.lang.String
getNamespace()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface alluxio.master.file.meta.xattr.ExtendedAttribute
decode, encode
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceExtendedAttribute<T>
- Returns:
- the full attribute with namespace and identifier
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespace
in interfaceExtendedAttribute<T>
- Returns:
- the namespace of the attribute lies within
-
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier
in interfaceExtendedAttribute<T>
- Returns:
- the identifier within the namespace of the attribute
-
-