Class SegmentsStats

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

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

  • Method Details

    • of

    • count

      public final int count()
      Required - Total number of segments across all shards assigned to selected nodes.

      API name: count

    • docValuesMemory

      @Nullable public final String docValuesMemory()
      Total amount of memory used for doc values across all shards assigned to selected nodes.

      API name: doc_values_memory

    • docValuesMemoryInBytes

      public final long docValuesMemoryInBytes()
      Required - Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.

      API name: doc_values_memory_in_bytes

    • fileSizes

      public final Map<String,ShardFileSizeInfo> fileSizes()
      Required - This object is not populated by the cluster stats API. To get information on segment files, use the node stats API.

      API name: file_sizes

    • fixedBitSet

      @Nullable public final String fixedBitSet()
      Total amount of memory used by fixed bit sets across all shards assigned to selected nodes. Fixed bit sets are used for nested object field types and type filters for join fields.

      API name: fixed_bit_set

    • fixedBitSetMemoryInBytes

      public final long fixedBitSetMemoryInBytes()
      Required - Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.

      API name: fixed_bit_set_memory_in_bytes

    • indexWriterMemory

      @Nullable public final String indexWriterMemory()
      Total amount of memory used by all index writers across all shards assigned to selected nodes.

      API name: index_writer_memory

    • indexWriterMaxMemoryInBytes

      @Nullable public final Long indexWriterMaxMemoryInBytes()
      API name: index_writer_max_memory_in_bytes
    • indexWriterMemoryInBytes

      public final long indexWriterMemoryInBytes()
      Required - Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.

      API name: index_writer_memory_in_bytes

    • maxUnsafeAutoIdTimestamp

      public final long maxUnsafeAutoIdTimestamp()
      Required - Unix timestamp, in milliseconds, of the most recently retried indexing request.

      API name: max_unsafe_auto_id_timestamp

    • memory

      @Nullable public final String memory()
      Total amount of memory used for segments across all shards assigned to selected nodes.

      API name: memory

    • memoryInBytes

      public final long memoryInBytes()
      Required - Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.

      API name: memory_in_bytes

    • normsMemory

      @Nullable public final String normsMemory()
      Total amount of memory used for normalization factors across all shards assigned to selected nodes.

      API name: norms_memory

    • normsMemoryInBytes

      public final long normsMemoryInBytes()
      Required - Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.

      API name: norms_memory_in_bytes

    • pointsMemory

      @Nullable public final String pointsMemory()
      Total amount of memory used for points across all shards assigned to selected nodes.

      API name: points_memory

    • pointsMemoryInBytes

      public final long pointsMemoryInBytes()
      Required - Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.

      API name: points_memory_in_bytes

    • storedMemory

      @Nullable public final String storedMemory()
      API name: stored_memory
    • storedFieldsMemoryInBytes

      public final long storedFieldsMemoryInBytes()
      Required - Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.

      API name: stored_fields_memory_in_bytes

    • termsMemoryInBytes

      public final long termsMemoryInBytes()
      Required - Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.

      API name: terms_memory_in_bytes

    • termsMemory

      @Nullable public final String termsMemory()
      Total amount of memory used for terms across all shards assigned to selected nodes.

      API name: terms_memory

    • termVectoryMemory

      @Nullable public final String termVectoryMemory()
      Total amount of memory used for term vectors across all shards assigned to selected nodes.

      API name: term_vectory_memory

    • termVectorsMemoryInBytes

      public final long termVectorsMemoryInBytes()
      Required - Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.

      API name: term_vectors_memory_in_bytes

    • versionMapMemory

      @Nullable public final String versionMapMemory()
      Total amount of memory used by all version maps across all shards assigned to selected nodes.

      API name: version_map_memory

    • versionMapMemoryInBytes

      public final long versionMapMemoryInBytes()
      Required - Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.

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

      protected static void setupSegmentsStatsDeserializer(ObjectDeserializer<SegmentsStats.Builder> op)