Class AggregationProfileDebug.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AggregationProfileDebug.Builder>
co.elastic.clients.elasticsearch.core.search.AggregationProfileDebug.Builder
- All Implemented Interfaces:
WithJson<AggregationProfileDebug.Builder>
,ObjectBuilder<AggregationProfileDebug>
- Enclosing class:
- AggregationProfileDebug
public static class AggregationProfileDebug.Builder
extends WithJsonObjectBuilderBase<AggregationProfileDebug.Builder>
implements ObjectBuilder<AggregationProfileDebug>
Builder for
AggregationProfileDebug
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aAggregationProfileDebug
.builtBuckets
(Integer value) API name:built_buckets
charsFetched
(Integer value) API name:chars_fetched
collectAnalyzedCount
(Integer value) API name:collect_analyzed_count
collectAnalyzedNs
(Integer value) API name:collect_analyzed_ns
collectionStrategy
(String value) API name:collection_strategy
deferredAggregators
(String value, String... values) API name:deferred_aggregators
deferredAggregators
(List<String> list) API name:deferred_aggregators
API name:delegate
API name:delegate_debug
API name:delegate_debug
emptyCollectorsUsed
(Integer value) API name:empty_collectors_used
extractCount
(Integer value) API name:extract_count
API name:extract_ns
filters
(AggregationProfileDelegateDebugFilter value, AggregationProfileDelegateDebugFilter... values) API name:filters
filters
(Function<AggregationProfileDelegateDebugFilter.Builder, ObjectBuilder<AggregationProfileDelegateDebugFilter>> fn) API name:filters
API name:filters
API name:has_filter
mapReducer
(String value) API name:map_reducer
numericCollectorsUsed
(Integer value) API name:numeric_collectors_used
API name:ordinals_collectors_overhead_too_high
ordinalsCollectorsUsed
(Integer value) API name:ordinals_collectors_used
resultStrategy
(String value) API name:result_strategy
segmentsCollected
(Integer value) API name:segments_collected
segmentsCounted
(Integer value) API name:segments_counted
segmentsWithDeletedDocs
(Integer value) API name:segments_with_deleted_docs
segmentsWithDocCountField
(Integer value) API name:segments_with_doc_count_field
API name:segments_with_multi_valued_ords
API name:segments_with_single_valued_ords
protected AggregationProfileDebug.Builder
self()
API name:string_hashing_collectors_used
survivingBuckets
(Integer value) API name:surviving_buckets
totalBuckets
(Integer value) API name:total_buckets
valuesFetched
(Integer value) API name:values_fetched
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
segmentsWithMultiValuedOrds
API name:segments_with_multi_valued_ords
-
collectionStrategy
API name:collection_strategy
-
segmentsWithSingleValuedOrds
API name:segments_with_single_valued_ords
-
totalBuckets
API name:total_buckets
-
builtBuckets
API name:built_buckets
-
resultStrategy
API name:result_strategy
-
hasFilter
API name:has_filter
-
delegate
API name:delegate
-
delegateDebug
API name:delegate_debug
-
delegateDebug
public final AggregationProfileDebug.Builder delegateDebug(Function<AggregationProfileDebug.Builder, ObjectBuilder<AggregationProfileDebug>> fn) API name:delegate_debug
-
charsFetched
API name:chars_fetched
-
extractCount
API name:extract_count
-
extractNs
API name:extract_ns
-
valuesFetched
API name:values_fetched
-
collectAnalyzedNs
API name:collect_analyzed_ns
-
collectAnalyzedCount
API name:collect_analyzed_count
-
survivingBuckets
API name:surviving_buckets
-
ordinalsCollectorsUsed
API name:ordinals_collectors_used
-
ordinalsCollectorsOverheadTooHigh
public final AggregationProfileDebug.Builder ordinalsCollectorsOverheadTooHigh(@Nullable Integer value) API name:ordinals_collectors_overhead_too_high
-
stringHashingCollectorsUsed
API name:string_hashing_collectors_used
-
numericCollectorsUsed
API name:numeric_collectors_used
-
emptyCollectorsUsed
API name:empty_collectors_used
-
deferredAggregators
API name:deferred_aggregators
Adds all elements of
list
todeferredAggregators
. -
deferredAggregators
API name:deferred_aggregators
Adds one or more values to
deferredAggregators
. -
segmentsWithDocCountField
API name:segments_with_doc_count_field
-
segmentsWithDeletedDocs
API name:segments_with_deleted_docs
-
filters
public final AggregationProfileDebug.Builder filters(List<AggregationProfileDelegateDebugFilter> list) API name:filters
Adds all elements of
list
tofilters
. -
filters
public final AggregationProfileDebug.Builder filters(AggregationProfileDelegateDebugFilter value, AggregationProfileDelegateDebugFilter... values) API name:filters
Adds one or more values to
filters
. -
filters
public final AggregationProfileDebug.Builder filters(Function<AggregationProfileDelegateDebugFilter.Builder, ObjectBuilder<AggregationProfileDelegateDebugFilter>> fn) API name:filters
Adds a value to
filters
using a builder lambda. -
segmentsCounted
API name:segments_counted
-
segmentsCollected
API name:segments_collected
-
mapReducer
API name:map_reducer
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<AggregationProfileDebug.Builder>
-
build
Builds aAggregationProfileDebug
.- Specified by:
build
in interfaceObjectBuilder<AggregationProfileDebug>
- Throws:
NullPointerException
- if some of the required fields are null.
-