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 Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterIndicesShards>Json deserializer forClusterIndicesShards -
Method Summary
Modifier 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
-
_DESERIALIZER
Json deserializer forClusterIndicesShards
-
-
Method Details
-
of
public static ClusterIndicesShards of(Function<ClusterIndicesShards.Builder, ObjectBuilder<ClusterIndicesShards>> fn) -
index
Contains statistics about shards assigned to selected nodes.API name:
index -
primaries
Number of primary shards assigned to selected nodes.API name:
primaries -
replication
Ratio of replica shards to primary shards across all selected nodes.API name:
replication -
total
Total number of shards assigned to selected nodes.API name:
total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterIndicesShardsDeserializer
protected static void setupClusterIndicesShardsDeserializer(ObjectDeserializer<ClusterIndicesShards.Builder> op)
-