Package org.elasticsearch.client.ml
Class NodeAttributes
java.lang.Object
org.elasticsearch.client.ml.NodeAttributes
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class NodeAttributes
extends Object
implements org.elasticsearch.common.xcontent.ToXContentObject
A Pojo class containing an Elastic Node's attributes
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Modifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ConstructingObjectParser<NodeAttributes,Void>
static org.elasticsearch.common.xcontent.ParseField
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Additional attributes related to this node e.g., {"ml.max_open_jobs": "10"}.The 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.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.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.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
ID
public static final org.elasticsearch.common.xcontent.ParseField ID -
NAME
public static final org.elasticsearch.common.xcontent.ParseField NAME -
EPHEMERAL_ID
public static final org.elasticsearch.common.xcontent.ParseField EPHEMERAL_ID -
TRANSPORT_ADDRESS
public static final org.elasticsearch.common.xcontent.ParseField TRANSPORT_ADDRESS -
ATTRIBUTES
public static final org.elasticsearch.common.xcontent.ParseField ATTRIBUTES -
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<NodeAttributes,Void> 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 e.g., {"ml.max_open_jobs": "10"}. -
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toString
-