Class SearchStats.Builder
- All Implemented Interfaces:
CopyableBuilder<SearchStats.Builder,,SearchStats> MutableBuilder<SearchStats.Builder,,SearchStats> ObjectBuilder<SearchStats>
- Enclosing class:
SearchStats
SearchStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSearchStats.final SearchStats.BuilderconcurrentAvgSliceCount(Long value) The average slice count of all search requests.final SearchStats.BuilderconcurrentQueryCurrent(Long value) The number of currently running query operations using concurrent segment search.final SearchStats.BuilderAPI name:concurrent_query_timefinal SearchStats.BuilderconcurrentQueryTime(Time value) API name:concurrent_query_timefinal SearchStats.BuilderconcurrentQueryTimeInMillis(Long value) The total amount of time taken by all query operations using concurrent segment search, in milliseconds.final SearchStats.BuilderconcurrentQueryTotal(Long value) The total number of query operations using concurrent segment search.copy()Create a new builderCopyableBuilderthat is a copy of this one.final SearchStats.BuilderfetchCurrent(long value) Required - The number of currently running shard fetch operations.final SearchStats.BuilderThe total amount of time taken to complete all shard fetch operations.final SearchStats.BuilderThe total amount of time taken to complete all shard fetch operations.final SearchStats.BuilderfetchTimeInMillis(long value) Required - The total amount of time taken to complete all shard fetch operations, in milliseconds.final SearchStats.BuilderfetchTotal(long value) Required - The total number of shard fetch operations.final SearchStats.Buildergroups(String key, Function<SearchStats.Builder, ObjectBuilder<SearchStats>> fn) The search statistics grouped by search groups.final SearchStats.Buildergroups(String key, SearchStats value) The search statistics grouped by search groups.final SearchStats.Buildergroups(Map<String, SearchStats> map) The search statistics grouped by search groups.final SearchStats.BuilderopenContexts(Long value) The number of open search contexts.final SearchStats.BuilderpointInTimeCurrent(Long value) The number of currently open shard PIT contexts.final SearchStats.BuilderAPI name:point_in_time_timefinal SearchStats.BuilderpointInTimeTime(Time value) API name:point_in_time_timefinal SearchStats.BuilderpointInTimeTimeInMillis(Long value) The amount of time that shard PIT contexts have been held open since the node last restarted, in milliseconds.final SearchStats.BuilderpointInTimeTotal(Long value) The total number of shard Point in Time (PIT) contexts created (completed and active) since the node last restarted.final SearchStats.BuilderqueryCurrent(long value) Required - The number of currently running shard query operations.final SearchStats.BuilderThe total amount of time taken to complete all shard query operations.final SearchStats.BuilderThe total amount of time taken to complete all shard query operations.final SearchStats.BuilderqueryTimeInMillis(long value) Required - The total amount of time taken to complete all shard query operations, in milliseconds.final SearchStats.BuilderqueryTotal(long value) Required - The total number of shard query operations.final SearchStats.BuilderStatistics related to coordinator search operations for the node.final SearchStats.Builderrequest(String key, RequestStats value) Statistics related to coordinator search operations for the node.final SearchStats.Builderrequest(Map<String, RequestStats> map) Statistics related to coordinator search operations for the node.final SearchStats.BuilderscrollCurrent(long value) Required - The number of shard scroll operations that are currently running.final SearchStats.BuilderThe total amount of time taken to complete all shard scroll operations.final SearchStats.BuilderscrollTime(Time value) The total amount of time taken to complete all shard scroll operations.final SearchStats.BuilderscrollTimeInMillis(long value) Required - The total amount of time taken to complete all shard scroll operations, in milliseconds.final SearchStats.BuilderscrollTotal(long value) Required - The total number of shard scroll operations.final SearchStats.BuilderThe total number of idle search reactivations.final SearchStats.BuildersuggestCurrent(long value) Required - The number of currently running shard suggest operations.final SearchStats.BuilderThe total amount of time take to complete all shard suggest operations.final SearchStats.BuildersuggestTime(Time value) The total amount of time take to complete all shard suggest operations.final SearchStats.BuildersuggestTimeInMillis(long value) Required - The total amount of time taken to complete all shard suggest operations, in milliseconds.final SearchStats.BuildersuggestTotal(long value) Required - The total number of shard suggest operations.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<SearchStats.Builder,SearchStats> - Returns:
- a new builder instance.
-
concurrentAvgSliceCount
The average slice count of all search requests. This is computed as the total slice count divided by the total number of concurrent search requests.API name:
concurrent_avg_slice_count -
concurrentQueryCurrent
The number of currently running query operations using concurrent segment search.API name:
concurrent_query_current -
concurrentQueryTime
API name:concurrent_query_time -
concurrentQueryTime
@Nonnull public final SearchStats.Builder concurrentQueryTime(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:concurrent_query_time -
concurrentQueryTimeInMillis
The total amount of time taken by all query operations using concurrent segment search, in milliseconds.API name:
concurrent_query_time_in_millis -
concurrentQueryTotal
The total number of query operations using concurrent segment search.API name:
concurrent_query_total -
fetchCurrent
Required - The number of currently running shard fetch operations.API name:
fetch_current -
fetchTime
The total amount of time taken to complete all shard fetch operations.API name:
fetch_time -
fetchTime
The total amount of time taken to complete all shard fetch operations.API name:
fetch_time -
fetchTimeInMillis
Required - The total amount of time taken to complete all shard fetch operations, in milliseconds.API name:
fetch_time_in_millis -
fetchTotal
Required - The total number of shard fetch operations.API name:
fetch_total -
groups
The search statistics grouped by search groups.API name:
groupsAdds all elements of
maptogroups. -
groups
The search statistics grouped by search groups.API name:
groupsAdds an entry to
groups. -
groups
@Nonnull public final SearchStats.Builder groups(String key, Function<SearchStats.Builder, ObjectBuilder<SearchStats>> fn) The search statistics grouped by search groups.API name:
groupsAdds a value to
groupsusing a builder lambda. -
openContexts
The number of open search contexts.API name:
open_contexts -
pointInTimeCurrent
The number of currently open shard PIT contexts.API name:
point_in_time_current -
pointInTimeTime
API name:point_in_time_time -
pointInTimeTime
@Nonnull public final SearchStats.Builder pointInTimeTime(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:point_in_time_time -
pointInTimeTimeInMillis
The amount of time that shard PIT contexts have been held open since the node last restarted, in milliseconds.API name:
point_in_time_time_in_millis -
pointInTimeTotal
The total number of shard Point in Time (PIT) contexts created (completed and active) since the node last restarted.API name:
point_in_time_total -
queryCurrent
Required - The number of currently running shard query operations.API name:
query_current -
queryTime
The total amount of time taken to complete all shard query operations.API name:
query_time -
queryTime
The total amount of time taken to complete all shard query operations.API name:
query_time -
queryTimeInMillis
Required - The total amount of time taken to complete all shard query operations, in milliseconds.API name:
query_time_in_millis -
queryTotal
Required - The total number of shard query operations.API name:
query_total -
request
Statistics related to coordinator search operations for the node.API name:
requestAdds all elements of
maptorequest. -
request
Statistics related to coordinator search operations for the node.API name:
requestAdds an entry to
request. -
request
@Nonnull public final SearchStats.Builder request(String key, Function<RequestStats.Builder, ObjectBuilder<RequestStats>> fn) Statistics related to coordinator search operations for the node.API name:
requestAdds a value to
requestusing a builder lambda. -
scrollCurrent
Required - The number of shard scroll operations that are currently running.API name:
scroll_current -
scrollTime
The total amount of time taken to complete all shard scroll operations.API name:
scroll_time -
scrollTime
The total amount of time taken to complete all shard scroll operations.API name:
scroll_time -
scrollTimeInMillis
Required - The total amount of time taken to complete all shard scroll operations, in milliseconds.API name:
scroll_time_in_millis -
scrollTotal
Required - The total number of shard scroll operations.API name:
scroll_total -
searchIdleReactivateCountTotal
The total number of idle search reactivations.API name:
search_idle_reactivate_count_total -
suggestCurrent
Required - The number of currently running shard suggest operations.API name:
suggest_current -
suggestTime
The total amount of time take to complete all shard suggest operations.API name:
suggest_time -
suggestTime
@Nonnull public final SearchStats.Builder suggestTime(Function<Time.Builder, ObjectBuilder<Time>> fn) The total amount of time take to complete all shard suggest operations.API name:
suggest_time -
suggestTimeInMillis
Required - The total amount of time taken to complete all shard suggest operations, in milliseconds.API name:
suggest_time_in_millis -
suggestTotal
Required - The total number of shard suggest operations.API name:
suggest_total -
build
Builds aSearchStats.- Specified by:
buildin interfaceObjectBuilder<SearchStats>- Throws:
NullPointerException- if some of the required fields are null.
-