NodeToAttributes (Apache Hadoop YARN API 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.server.api.protocolrecords, class: NodeToAttributes

Package org.apache.hadoop.yarn.server.api.protocolrecords

# Class NodeToAttributes

java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.NodeToAttributes

@Public @Unstable public abstract class NodeToAttributes extends Object
Represents a mapping of Node id to list of attributes.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NodeToAttributes()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract String`
  `getNode()`
  `abstract List<NodeAttribute>`
  `getNodeAttributes()`
  `static NodeToAttributes`
  `newInstance(String node, List<NodeAttribute> attributes)`
  `abstract void`
  `setNode(String node)`
  `abstract void`
  `setNodeAttributes(List<NodeAttribute> attributes)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NodeToAttributes

    public NodeToAttributes()

- ## Method Details

  - ### newInstance

    public static NodeToAttributes newInstance(String node, List<NodeAttribute> attributes)

  - ### getNode

    @Public @Unstable public abstract String getNode()

  - ### setNode

    @Public @Unstable public abstract void setNode(String node)

  - ### getNodeAttributes

    @Public @Unstable public abstract List<NodeAttribute> getNodeAttributes()

  - ### setNodeAttributes

    @Public @Unstable public abstract void setNodeAttributes(List<NodeAttribute> attributes)