Class ClusterIndicesShards
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterIndicesShards
- All Implemented Interfaces:
- JsonpSerializable
Contains statistics about shards assigned to selected nodes.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterIndicesShards>Json deserializer forClusterIndicesShards
- 
Method SummaryModifier and TypeMethodDescriptionindex()Contains statistics about shards assigned to selected nodes.static ClusterIndicesShardsfinal DoubleNumber of primary shards assigned to selected nodes.final DoubleRatio of replica shards to primary shards across all 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 voidtoString()final Doubletotal()Total number of shards assigned to selected nodes.
- 
Field Details- 
_DESERIALIZERJson deserializer forClusterIndicesShards
 
- 
- 
Method Details- 
ofpublic static ClusterIndicesShards of(Function<ClusterIndicesShards.Builder, ObjectBuilder<ClusterIndicesShards>> fn) 
- 
indexContains statistics about shards assigned to selected nodes.API name: index
- 
primariesNumber of primary shards assigned to selected nodes.API name: primaries
- 
replicationRatio of replica shards to primary shards across all selected nodes.API name: replication
- 
totalTotal number of shards assigned to selected nodes.API name: total
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupClusterIndicesShardsDeserializerprotected static void setupClusterIndicesShardsDeserializer(ObjectDeserializer<ClusterIndicesShards.Builder> op) 
 
-