Class AggregationProfileDebug.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.search.AggregationProfileDebug.Builder
- All Implemented Interfaces:
CopyableBuilder<AggregationProfileDebug.Builder,,AggregationProfileDebug> MutableBuilder<AggregationProfileDebug.Builder,,AggregationProfileDebug> ObjectBuilder<AggregationProfileDebug>
- Enclosing class:
AggregationProfileDebug
public static class AggregationProfileDebug.Builder
extends ObjectBuilderBase
implements CopyableBuilder<AggregationProfileDebug.Builder,AggregationProfileDebug>
Builder for
AggregationProfileDebug.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAggregationProfileDebug.builtBuckets(Integer value) API name:built_bucketscharsFetched(Integer value) API name:chars_fetchedcollectAnalyzedCount(Integer value) API name:collect_analyzed_countcollectAnalyzedNs(Integer value) API name:collect_analyzed_nscollectionStrategy(String value) API name:collection_strategycopy()Create a new builderCopyableBuilderthat is a copy of this one.deferredAggregators(String value, String... values) API name:deferred_aggregatorsdeferredAggregators(List<String> list) API name:deferred_aggregatorsAPI name:delegatedelegateDebug(Function<AggregationProfileDelegateDebug.Builder, ObjectBuilder<AggregationProfileDelegateDebug>> fn) API name:delegate_debugAPI name:delegate_debugemptyCollectorsUsed(Integer value) API name:empty_collectors_usedextractCount(Integer value) API name:extract_countAPI name:extract_nsAPI name:has_filtermapReducer(String value) API name:map_reducernumericCollectorsUsed(Integer value) API name:numeric_collectors_usedAPI name:ordinals_collectors_overhead_too_highordinalsCollectorsUsed(Integer value) API name:ordinals_collectors_usedresultStrategy(String value) API name:result_strategyAPI name:segments_with_multi_valued_ordsAPI name:segments_with_single_valued_ordsAPI name:string_hashing_collectors_usedsurvivingBuckets(Integer value) API name:surviving_bucketstotalBuckets(Integer value) API name:total_bucketsvaluesFetched(Integer value) API name:values_fetchedMethods 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<AggregationProfileDebug.Builder,AggregationProfileDebug> - Returns:
- a new builder instance.
-
builtBuckets
API name:built_buckets -
charsFetched
API name:chars_fetched -
collectAnalyzedCount
API name:collect_analyzed_count -
collectAnalyzedNs
API name:collect_analyzed_ns -
collectionStrategy
API name:collection_strategy -
deferredAggregators
API name:deferred_aggregatorsAdds all elements of
listtodeferredAggregators. -
deferredAggregators
@Nonnull public final AggregationProfileDebug.Builder deferredAggregators(String value, String... values) API name:deferred_aggregatorsAdds one or more values to
deferredAggregators. -
delegate
API name:delegate -
delegateDebug
@Nonnull public final AggregationProfileDebug.Builder delegateDebug(@Nullable AggregationProfileDelegateDebug value) API name:delegate_debug -
delegateDebug
@Nonnull public final AggregationProfileDebug.Builder delegateDebug(Function<AggregationProfileDelegateDebug.Builder, ObjectBuilder<AggregationProfileDelegateDebug>> fn) API name:delegate_debug -
emptyCollectorsUsed
API name:empty_collectors_used -
extractCount
API name:extract_count -
extractNs
API name:extract_ns -
hasFilter
API name:has_filter -
mapReducer
API name:map_reducer -
numericCollectorsUsed
@Nonnull public final AggregationProfileDebug.Builder numericCollectorsUsed(@Nullable Integer value) API name:numeric_collectors_used -
ordinalsCollectorsOverheadTooHigh
@Nonnull public final AggregationProfileDebug.Builder ordinalsCollectorsOverheadTooHigh(@Nullable Integer value) API name:ordinals_collectors_overhead_too_high -
ordinalsCollectorsUsed
@Nonnull public final AggregationProfileDebug.Builder ordinalsCollectorsUsed(@Nullable Integer value) API name:ordinals_collectors_used -
resultStrategy
API name:result_strategy -
segmentsWithMultiValuedOrds
@Nonnull public final AggregationProfileDebug.Builder segmentsWithMultiValuedOrds(@Nullable Integer value) API name:segments_with_multi_valued_ords -
segmentsWithSingleValuedOrds
@Nonnull public final AggregationProfileDebug.Builder segmentsWithSingleValuedOrds(@Nullable Integer value) API name:segments_with_single_valued_ords -
stringHashingCollectorsUsed
@Nonnull public final AggregationProfileDebug.Builder stringHashingCollectorsUsed(@Nullable Integer value) API name:string_hashing_collectors_used -
survivingBuckets
API name:surviving_buckets -
totalBuckets
API name:total_buckets -
valuesFetched
API name:values_fetched -
build
Builds aAggregationProfileDebug.- Specified by:
buildin interfaceObjectBuilder<AggregationProfileDebug>- Throws:
NullPointerException- if some of the required fields are null.
-