Class IndicesStatsRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuilder<IndicesStatsRequest,IndicesStatsResponse,IndicesStatsRequestBuilder>
org.elasticsearch.action.admin.indices.stats.IndicesStatsRequestBuilder
public class IndicesStatsRequestBuilder extends BroadcastOperationRequestBuilder<IndicesStatsRequest,IndicesStatsResponse,IndicesStatsRequestBuilder>
A request to get indices level stats. Allow to enable different stats to be returned.
By default, the setDocs(boolean)
, setStore(boolean)
, setIndexing(boolean)
are enabled. Other stats can be enabled as well.
All the stats to be returned can be cleared using clear()
, at which point, specific
stats can be enabled.
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
Constructors Constructor Description IndicesStatsRequestBuilder(ElasticsearchClient client, IndicesStatsAction action)
-
Method Summary
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationRequestBuilder
setIndices, setIndicesOptions, setTimeout
Methods inherited from class org.elasticsearch.action.ActionRequestBuilder
execute, execute, get, get, get, request
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IndicesStatsRequestBuilder
-
-
Method Details
-
all
Sets all flags to return all stats. -
clear
Clears all stats. -
setTypes
Document types to return stats for. Mainly affectssetIndexing(boolean)
when enabled, returning specific indexing stats for those types. -
setGroups
-
setDocs
-
setStore
-
setIndexing
-
setGet
-
setSearch
-
setMerge
-
setRefresh
-
setFlush
-
setWarmer
-
setQueryCache
-
setFieldData
-
setFieldDataFields
-
setSegments
-
setCompletion
-
setCompletionFields
-
setTranslog
-
setRequestCache
-
setRecovery
-
setIncludeSegmentFileSizes
-