- All Implemented Interfaces:
INode.Feature
Feature for extended attributes.
-
Constructor Summary
Constructors
-
Method Summary
boolean
org.apache.hadoop.fs.XAttr
Get XAttr by name with prefix.
List<org.apache.hadoop.fs.XAttr>
int
-
Constructor Details
-
XAttrFeature
public XAttrFeature(List<org.apache.hadoop.fs.XAttr> xAttrs)
-
Method Details
-
getXAttrs
public List<org.apache.hadoop.fs.XAttr> getXAttrs()
Get the XAttrs.
- Returns:
- the XAttrs
-
-
-
getXAttr
public org.apache.hadoop.fs.XAttr getXAttr(String prefixedName)
Get XAttr by name with prefix.
- Parameters:
prefixedName - xAttr name with prefix
- Returns:
- the XAttr