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

@JsonpDeserializable
public class IndexStats
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static IndexStats of​(java.util.function.Function<IndexStats.Builder,​ObjectBuilder<IndexStats>> fn)
    • completion

      @Nullable public final CompletionStats completion()
      Contains statistics about completions across all shards assigned to the node.

      API name: completion

    • docs

      @Nullable public final DocStats docs()
      Contains statistics about documents across all primary shards assigned to the node.

      API name: docs

    • fielddata

      @Nullable public final FielddataStats fielddata()
      Contains statistics about the field data cache across all shards assigned to the node.

      API name: fielddata

    • flush

      @Nullable public final FlushStats flush()
      Contains statistics about flush operations for the node.

      API name: flush

    • get

      @Nullable public final GetStats get()
      Contains statistics about get operations for the node.

      API name: get

    • indexing

      @Nullable public final IndexingStats indexing()
      Contains statistics about indexing operations for the node.

      API name: indexing

    • indices

      @Nullable public final IndicesStats indices()
      Contains statistics about indices operations for the node.

      API name: indices

    • merges

      @Nullable public final MergesStats merges()
      Contains statistics about merge operations for the node.

      API name: merges

    • queryCache

      @Nullable public final QueryCacheStats queryCache()
      Contains statistics about the query cache across all shards assigned to the node.

      API name: query_cache

    • recovery

      @Nullable public final RecoveryStats recovery()
      Contains statistics about recovery operations for the node.

      API name: recovery

    • refresh

      @Nullable public final RefreshStats refresh()
      Contains statistics about refresh operations for the node.

      API name: refresh

    • requestCache

      @Nullable public final RequestCacheStats requestCache()
      Contains statistics about the request cache across all shards assigned to the node.

      API name: request_cache

    • search

      @Nullable public final SearchStats search()
      Contains statistics about search operations for the node.

      API name: search

    • segments

      @Nullable public final SegmentsStats segments()
      Contains statistics about segments across all shards assigned to the node.

      API name: segments

    • store

      @Nullable public final StoreStats store()
      Contains statistics about the size of shards assigned to the node.

      API name: store

    • translog

      @Nullable public final TranslogStats translog()
      Contains statistics about transaction log operations for the node.

      API name: translog

    • warmer

      @Nullable public final WarmerStats warmer()
      Contains statistics about index warming operations for the node.

      API name: warmer

    • bulk

      @Nullable public final BulkStats bulk()
      API name: bulk
    • shardStats

      @Nullable public final ShardsTotalStats shardStats()
      API name: shard_stats
    • 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 java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupIndexStatsDeserializer

      protected static void setupIndexStatsDeserializer​(ObjectDeserializer<IndexStats.Builder> op)