Class NodeAttributeKeyPBImpl

java.lang.Object
org.apache.hadoop.yarn.api.records.NodeAttributeKey
org.apache.hadoop.yarn.api.records.impl.pb.NodeAttributeKeyPBImpl

@Private @Unstable public class NodeAttributeKeyPBImpl extends org.apache.hadoop.yarn.api.records.NodeAttributeKey
Implementation for NodeAttributeKey.
  • Constructor Details

    • NodeAttributeKeyPBImpl

      public NodeAttributeKeyPBImpl()
    • NodeAttributeKeyPBImpl

      public NodeAttributeKeyPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeKeyProto proto)
  • Method Details

    • getProto

      public org.apache.hadoop.yarn.proto.YarnProtos.NodeAttributeKeyProto getProto()
    • getAttributePrefix

      public String getAttributePrefix()
      Specified by:
      getAttributePrefix in class org.apache.hadoop.yarn.api.records.NodeAttributeKey
    • setAttributePrefix

      public void setAttributePrefix(String attributePrefix)
      Specified by:
      setAttributePrefix in class org.apache.hadoop.yarn.api.records.NodeAttributeKey
    • getAttributeName

      public String getAttributeName()
      Specified by:
      getAttributeName in class org.apache.hadoop.yarn.api.records.NodeAttributeKey
    • setAttributeName

      public void setAttributeName(String attributeName)
      Specified by:
      setAttributeName in class org.apache.hadoop.yarn.api.records.NodeAttributeKey
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object