Class NodeAttributes
java.lang.Object
org.elasticsearch.client.transform.transforms.NodeAttributes
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent
,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
Modifier and TypeFieldDescriptionstatic 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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Additional attributes related to this nodeThe ephemeral id of the node.getId()
The unique identifier of the node.getName()
The node name.The host and port where transport HTTP connections are accepted.int
hashCode()
toString()
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
-
-
Constructor Details
-
NodeAttributes
-
-
Method Details
-
getId
The unique identifier of the node. -
getName
The node name. -
getEphemeralId
The ephemeral id of the node. -
getTransportAddress
The host and port where transport HTTP connections are accepted. -
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 interfaceorg.elasticsearch.xcontent.ToXContent
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toString
-