Class ClusterNodes
- java.lang.Object
-
- org.opensearch.client.opensearch.cluster.stats.ClusterNodes
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class ClusterNodes extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterNodes.Builder
Builder forClusterNodes
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterNodes>
_DESERIALIZER
Json deserializer forClusterNodes
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterNodeCount
count()
Required - Contains counts for nodes selected by the request's node filters.java.util.Map<java.lang.String,java.lang.Integer>
discoveryTypes()
Required - Contains statistics about the discovery types used by selected nodes.ClusterFileSystem
fs()
Required - Contains statistics about file stores by selected nodes.ClusterIngest
ingest()
Required - API name:ingest
ClusterJvm
jvm()
Required - Contains statistics about the Java Virtual Machines (JVMs) used by selected nodes.ClusterNetworkTypes
networkTypes()
Required - Contains statistics about the transport and HTTP networks used by selected nodes.static ClusterNodes
of(java.util.function.Function<ClusterNodes.Builder,ObjectBuilder<ClusterNodes>> fn)
ClusterOperatingSystem
os()
Required - Contains statistics about the operating systems used by selected nodes.java.util.List<NodePackagingType>
packagingTypes()
Required - Contains statistics about OpenSearch distributions installed on selected nodes.java.util.List<PluginStats>
plugins()
Required - Contains statistics about installed plugins and modules by selected nodes.ClusterProcess
process()
Required - Contains statistics about processes used by selected nodes.void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupClusterNodesDeserializer(ObjectDeserializer<ClusterNodes.Builder> op)
java.util.List<java.lang.String>
versions()
Required - Array of OpenSearch versions used on selected nodes.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ClusterNodes> _DESERIALIZER
Json deserializer forClusterNodes
-
-
Method Detail
-
of
public static ClusterNodes of(java.util.function.Function<ClusterNodes.Builder,ObjectBuilder<ClusterNodes>> fn)
-
count
public final ClusterNodeCount count()
Required - Contains counts for nodes selected by the request's node filters.API name:
count
-
discoveryTypes
public final java.util.Map<java.lang.String,java.lang.Integer> discoveryTypes()
Required - Contains statistics about the discovery types used by selected nodes.API name:
discovery_types
-
fs
public final ClusterFileSystem fs()
Required - Contains statistics about file stores by selected nodes.API name:
fs
-
ingest
public final ClusterIngest ingest()
Required - API name:ingest
-
jvm
public final ClusterJvm jvm()
Required - Contains statistics about the Java Virtual Machines (JVMs) used by selected nodes.API name:
jvm
-
networkTypes
public final ClusterNetworkTypes networkTypes()
Required - Contains statistics about the transport and HTTP networks used by selected nodes.API name:
network_types
-
os
public final ClusterOperatingSystem os()
Required - Contains statistics about the operating systems used by selected nodes.API name:
os
-
packagingTypes
public final java.util.List<NodePackagingType> packagingTypes()
Required - Contains statistics about OpenSearch distributions installed on selected nodes.API name:
packaging_types
-
plugins
public final java.util.List<PluginStats> plugins()
Required - Contains statistics about installed plugins and modules by selected nodes.API name:
plugins
-
process
public final ClusterProcess process()
Required - Contains statistics about processes used by selected nodes.API name:
process
-
versions
public final java.util.List<java.lang.String> versions()
Required - Array of OpenSearch versions used on selected nodes.API name:
versions
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupClusterNodesDeserializer
protected static void setupClusterNodesDeserializer(ObjectDeserializer<ClusterNodes.Builder> op)
-
-