Module org.elasticsearch.xcore
Class NodeAttributes
java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.NodeAttributes
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
public class NodeAttributes
extends Object
implements org.elasticsearch.xcontent.ToXContentObject, Writeable
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.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ConstructingObjectParser<NodeAttributes, Void> static final org.elasticsearch.xcontent.ParseFieldFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NodeAttributesThe 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.inthashCode()toString()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-
NodeAttributes
- Throws:
IOException
-
-
Method Details
-
fromDiscoveryNode
-
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
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toString
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-