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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterIndicesShards>
Json deserializer forClusterIndicesShards
-
Method Summary
Modifier and TypeMethodDescriptionindex()
Contains statistics about shards assigned to selected nodes.static ClusterIndicesShards
final Double
Number of primary shards assigned to selected nodes.final Double
Ratio of replica shards to primary shards across all 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
toString()
final Double
total()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterIndicesShardsDeserializer
protected static void setupClusterIndicesShardsDeserializer(ObjectDeserializer<ClusterIndicesShards.Builder> op)
-