Class StoreStats

java.lang.Object
co.elastic.clients.elasticsearch._types.StoreStats
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class StoreStats extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • size

      @Nullable public final String size()
      Total size of all shards assigned to selected nodes.

      API name: size

    • sizeInBytes

      public final long sizeInBytes()
      Required - Total size, in bytes, of all shards assigned to selected nodes.

      API name: size_in_bytes

    • reserved

      @Nullable public final String reserved()
      A prediction of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.

      API name: reserved

    • reservedInBytes

      public final long reservedInBytes()
      Required - A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.

      API name: reserved_in_bytes

    • totalDataSetSize

      @Nullable public final String totalDataSetSize()
      Total data set size of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.

      API name: total_data_set_size

    • totalDataSetSizeInBytes

      @Nullable public final Long totalDataSetSizeInBytes()
      Total data set size, in bytes, of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.

      API name: total_data_set_size_in_bytes

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupStoreStatsDeserializer

      protected static void setupStoreStatsDeserializer(ObjectDeserializer<StoreStats.Builder> op)