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 classClusterIndicesShardsIndex.BuilderBuilder forClusterIndicesShardsIndex. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterIndicesShardsIndex>_DESERIALIZERJson 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 ClusterShardMetricsprimaries()Required - Contains statistics about the number of primary shards assigned to selected nodes.ClusterShardMetricsreplication()Required - Contains statistics about the number of replication shards assigned to selected nodes.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupClusterIndicesShardsIndexDeserializer(DelegatingDeserializer<ClusterIndicesShardsIndex.Builder> op)ClusterShardMetricsshards()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupClusterIndicesShardsIndexDeserializer
protected static void setupClusterIndicesShardsIndexDeserializer(DelegatingDeserializer<ClusterIndicesShardsIndex.Builder> op)
-