Class DataStreamsStatsResponse

java.lang.Object
co.elastic.clients.elasticsearch.indices.DataStreamsStatsResponse
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • shards

      public final ShardStatistics shards()
      Required - Contains information about shards that attempted to execute the request.

      API name: _shards

    • backingIndices

      public final int backingIndices()
      Required - Total number of backing indices for the selected data streams.

      API name: backing_indices

    • dataStreamCount

      public final int dataStreamCount()
      Required - Total number of selected data streams.

      API name: data_stream_count

    • dataStreams

      public final List<DataStreamsStatsItem> dataStreams()
      Required - Contains statistics for the selected data streams.

      API name: data_streams

    • totalStoreSizes

      @Nullable public final String totalStoreSizes()
      Total size of all shards for the selected data streams. This property is included only if the human query parameter is true

      API name: total_store_sizes

    • totalStoreSizeBytes

      public final int totalStoreSizeBytes()
      Required - Total size, in bytes, of all shards for the selected data streams.

      API name: total_store_size_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
    • setupDataStreamsStatsResponseDeserializer

      protected static void setupDataStreamsStatsResponseDeserializer(ObjectDeserializer<DataStreamsStatsResponse.Builder> op)