Class XAttrFeature

java.lang.Object
org.apache.hadoop.hdfs.server.namenode.XAttrFeature
All Implemented Interfaces:
INode.Feature

@Private public class XAttrFeature extends Object implements INode.Feature
Feature for extended attributes.
  • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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