Class AggregationBreakdown.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AggregationBreakdown.Builder>
co.elastic.clients.elasticsearch.core.search.AggregationBreakdown.Builder
- All Implemented Interfaces:
WithJson<AggregationBreakdown.Builder>,ObjectBuilder<AggregationBreakdown>
- Enclosing class:
- AggregationBreakdown
public static class AggregationBreakdown.Builder
extends WithJsonObjectBuilderBase<AggregationBreakdown.Builder>
implements ObjectBuilder<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_countinitialize(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_countprotected AggregationBreakdown.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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 -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<AggregationBreakdown.Builder>
-
build
Builds aAggregationBreakdown.- Specified by:
buildin interfaceObjectBuilder<AggregationBreakdown>- Throws:
NullPointerException- if some of the required fields are null.
-