Class ClusterIndicesShards
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.ClusterIndicesShards
- All Implemented Interfaces:
ToJsonp
public final class ClusterIndicesShards extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterIndicesShards.BuilderBuilder forClusterIndicesShards. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterIndicesShards>DESERIALIZERJson deserializer for ClusterIndicesShards -
Constructor Summary
Constructors Modifier Constructor Description protectedClusterIndicesShards(ClusterIndicesShards.Builder builder) -
Method Summary
Modifier and Type Method Description ClusterIndicesShardsIndexindex()Contains statistics about shards assigned to selected nodes.java.lang.Numberprimaries()Number of primary shards assigned to selected nodes.java.lang.Numberreplication()Ratio of replica shards to primary shards across all selected nodes.protected static voidsetupClusterIndicesShardsDeserializer(DelegatingDeserializer<ClusterIndicesShards.Builder> op)voidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.Numbertotal()Total number of shards assigned to selected nodes.
-
Field Details
-
DESERIALIZER
Json deserializer for ClusterIndicesShards
-
-
Constructor Details
-
Method Details
-
index
Contains statistics about shards assigned to selected nodes. API name:index -
primaries
@Nullable public java.lang.Number primaries()Number of primary shards assigned to selected nodes. API name:primaries -
replication
@Nullable public java.lang.Number replication()Ratio of replica shards to primary shards across all selected nodes. API name:replication -
total
@Nullable public java.lang.Number total()Total number of shards assigned to selected nodes. API name:total -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupClusterIndicesShardsDeserializer
protected static void setupClusterIndicesShardsDeserializer(DelegatingDeserializer<ClusterIndicesShards.Builder> op)
-