Class ClusterIndicesShards

java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterIndicesShards
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public final class ClusterIndicesShards
extends java.lang.Object
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • index

      @Nullable public ClusterIndicesShardsIndex index()
      Contains statistics about shards assigned to selected nodes.

      API name: index

    • primaries

      @Nullable public java.lang.Double primaries()
      Number of primary shards assigned to selected nodes.

      API name: primaries

    • replication

      @Nullable public java.lang.Double replication()
      Ratio of replica shards to primary shards across all selected nodes.

      API name: replication

    • total

      @Nullable public java.lang.Double total()
      Total number of shards assigned to selected nodes.

      API name: total

    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupClusterIndicesShardsDeserializer

      protected static void setupClusterIndicesShardsDeserializer​(DelegatingDeserializer<ClusterIndicesShards.Builder> op)