Class NodeAttributes

java.lang.Object
org.elasticsearch.client.transform.transforms.NodeAttributes
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class NodeAttributes extends Object implements org.elasticsearch.xcontent.ToXContentObject
A Pojo class containing an Elastic Node's attributes
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

    org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ParseField
     
    static final org.elasticsearch.xcontent.ConstructingObjectParser<NodeAttributes,Void>
     
    static final org.elasticsearch.xcontent.ParseField
     

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Constructor
    Description
    NodeAttributes(String id, String name, String ephemeralId, String transportAddress, Map<String,String> attributes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
    Additional attributes related to this node
    The ephemeral id of the node.
    The unique identifier of the node.
    The node name.
    The host and port where transport HTTP connections are accepted.
    int
     
     
    org.elasticsearch.xcontent.XContentBuilder
    toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject

    isFragment
  • Field Details

    • ID

      public static final org.elasticsearch.xcontent.ParseField ID
    • NAME

      public static final org.elasticsearch.xcontent.ParseField NAME
    • EPHEMERAL_ID

      public static final org.elasticsearch.xcontent.ParseField EPHEMERAL_ID
    • TRANSPORT_ADDRESS

      public static final org.elasticsearch.xcontent.ParseField TRANSPORT_ADDRESS
    • ATTRIBUTES

      public static final org.elasticsearch.xcontent.ParseField ATTRIBUTES
    • PARSER

      public static final org.elasticsearch.xcontent.ConstructingObjectParser<NodeAttributes,Void> PARSER
  • Constructor Details

  • Method Details

    • getId

      public String getId()
      The unique identifier of the node.
    • getName

      public String getName()
      The node name.
    • getEphemeralId

      public String getEphemeralId()
      The ephemeral id of the node.
    • getTransportAddress

      public String getTransportAddress()
      The host and port where transport HTTP connections are accepted.
    • getAttributes

      public Map<String,String> getAttributes()
      Additional attributes related to this node
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object