Class IndexStats
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.stats.IndexStats
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexStats extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexStats.BuilderBuilder forIndexStats.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexStats>_DESERIALIZERJson deserializer forIndexStats
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkStatsbulk()API name:bulkCompletionStatscompletion()Contains statistics about completions across all shards assigned to the node.DocStatsdocs()Contains statistics about documents across all primary shards assigned to the node.FielddataStatsfielddata()Contains statistics about the field data cache across all shards assigned to the node.FlushStatsflush()Contains statistics about flush operations for the node.GetStatsget()Contains statistics about get operations for the node.IndexingStatsindexing()Contains statistics about indexing operations for the node.MergesStatsmerges()Contains statistics about merge operations for the node.static IndexStatsof(java.util.function.Function<IndexStats.Builder,ObjectBuilder<IndexStats>> fn)QueryCacheStatsqueryCache()Contains statistics about the query cache across all shards assigned to the node.RecoveryStatsrecovery()Contains statistics about recovery operations for the node.RefreshStatsrefresh()Contains statistics about refresh operations for the node.RequestCacheStatsrequestCache()Contains statistics about the request cache across all shards assigned to the node.SearchStatssearch()Contains statistics about search operations for the node.SegmentsStatssegments()Contains statistics about segments across all shards assigned to the node.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexStatsDeserializer(ObjectDeserializer<IndexStats.Builder> op)ShardsTotalStatsshards()API name:shardsStoreStatsstore()Contains statistics about the size of shards assigned to the node.TranslogStatstranslog()Contains statistics about transaction log operations for the node.WarmerStatswarmer()Contains statistics about index warming operations for the node.
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<IndexStats> _DESERIALIZER
Json deserializer forIndexStats
-
-
Method Detail
-
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
-
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
-
shards
@Nullable public final ShardsTotalStats shards()
API name:shards
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupIndexStatsDeserializer
protected static void setupIndexStatsDeserializer(ObjectDeserializer<IndexStats.Builder> op)
-
-