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

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

  • Method Details

    • of

    • backingIndices

      public final int backingIndices()
      Required - Current number of backing indices for the data stream.

      API name: backing_indices

    • dataStream

      public final String dataStream()
      Required - Name of the data stream.

      API name: data_stream

    • maximumTimestamp

      public final long maximumTimestamp()
      Required - The data stream’s highest @timestamp value, converted to milliseconds since the Unix epoch. NOTE: This timestamp is provided as a best effort. The data stream may contain @timestamp values higher than this if one or more of the following conditions are met: The stream contains closed backing indices; Backing indices with a lower generation contain higher @timestamp values.

      API name: maximum_timestamp

    • storeSize

      @Nullable public final String storeSize()
      Total size of all shards for the data stream’s backing indices. This parameter is only returned if the human query parameter is true.

      API name: store_size

    • storeSizeBytes

      public final int storeSizeBytes()
      Required - Total size, in bytes, of all shards for the data stream’s backing indices.

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

      protected static void setupDataStreamsStatsItemDeserializer(ObjectDeserializer<DataStreamsStatsItem.Builder> op)