Class AggregationBreakdown.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.search.AggregationBreakdown.Builder
- All Implemented Interfaces:
CopyableBuilder<AggregationBreakdown.Builder,,AggregationBreakdown> MutableBuilder<AggregationBreakdown.Builder,,AggregationBreakdown> ObjectBuilder<AggregationBreakdown>
- Enclosing class:
AggregationBreakdown
public static class AggregationBreakdown.Builder
extends ObjectBuilderBase
implements CopyableBuilder<AggregationBreakdown.Builder,AggregationBreakdown>
Builder for
AggregationBreakdown.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAggregationBreakdown.buildAggregation(long value) Required - API name:build_aggregationbuildAggregationCount(long value) Required - API name:build_aggregation_countbuildLeafCollector(long value) Required - API name:build_leaf_collectorbuildLeafCollectorCount(long value) Required - API name:build_leaf_collector_countcollect(long value) Required - API name:collectcollectCount(long value) Required - API name:collect_countcopy()Create a new builderCopyableBuilderthat is a copy of this one.initialize(long value) Required - API name:initializeinitializeCount(long value) Required - API name:initialize_countpostCollection(Long value) API name:post_collectionpostCollectionCount(Long value) API name:post_collection_countreduce(long value) Required - API name:reducereduceCount(long value) Required - API name:reduce_countMethods 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<AggregationBreakdown.Builder,AggregationBreakdown> - Returns:
- a new builder instance.
-
buildAggregation
Required - API name:build_aggregation -
buildAggregationCount
Required - API name:build_aggregation_count -
buildLeafCollector
Required - API name:build_leaf_collector -
buildLeafCollectorCount
Required - API name:build_leaf_collector_count -
collect
Required - API name:collect -
collectCount
Required - API name:collect_count -
initialize
Required - API name:initialize -
initializeCount
Required - API name:initialize_count -
postCollection
API name:post_collection -
postCollectionCount
API name:post_collection_count -
reduce
Required - API name:reduce -
reduceCount
Required - API name:reduce_count -
build
Builds aAggregationBreakdown.- Specified by:
buildin interfaceObjectBuilder<AggregationBreakdown>- Throws:
NullPointerException- if some of the required fields are null.
-