Class ClusterIndicesShardsIndex
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterIndicesShardsIndex
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ClusterIndicesShardsIndex extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterIndicesShardsIndex.Builder
Builder forClusterIndicesShardsIndex
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterIndicesShardsIndex>
_DESERIALIZER
Json deserializer forClusterIndicesShardsIndex
-
Constructor Summary
Constructors Constructor Description ClusterIndicesShardsIndex(ClusterIndicesShardsIndex.Builder builder)
ClusterIndicesShardsIndex(java.util.function.Function<ClusterIndicesShardsIndex.Builder,ClusterIndicesShardsIndex.Builder> fn)
-
Method Summary
Modifier and Type Method Description ClusterShardMetrics
primaries()
Required - Contains statistics about the number of primary shards assigned to selected nodes.ClusterShardMetrics
replication()
Required - Contains statistics about the number of replication shards assigned to 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
setupClusterIndicesShardsIndexDeserializer(DelegatingDeserializer<ClusterIndicesShardsIndex.Builder> op)
ClusterShardMetrics
shards()
Required - Contains statistics about the number of shards assigned to selected nodes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterIndicesShardsIndex
-
-
Constructor Details
-
ClusterIndicesShardsIndex
-
ClusterIndicesShardsIndex
public ClusterIndicesShardsIndex(java.util.function.Function<ClusterIndicesShardsIndex.Builder,ClusterIndicesShardsIndex.Builder> fn)
-
-
Method Details
-
primaries
Required - Contains statistics about the number of primary shards assigned to selected nodes.API name:
primaries
-
replication
Required - Contains statistics about the number of replication shards assigned to selected nodes.API name:
replication
-
shards
Required - Contains statistics about the number of shards assigned to selected nodes.API name:
shards
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupClusterIndicesShardsIndexDeserializer
protected static void setupClusterIndicesShardsIndexDeserializer(DelegatingDeserializer<ClusterIndicesShardsIndex.Builder> op)
-