Module org.elasticsearch.compute
Class HashAggregationOperator.Builder
java.lang.Object
org.elasticsearch.compute.operator.HashAggregationOperator.Builder
- Enclosing class:
HashAggregationOperator
Builder for
HashAggregationOperator. groups(List), mode(AggregatorMode),
and aggregators(List) are required. The other parameters default to reasonable values
for tests. In production, set them all.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregationBatchSize(int aggregationBatchSize) aggregators(List<GroupingAggregator.Factory> aggregators) analysisRegistry(AnalysisRegistry analysisRegistry) build()groups(List<BlockHash.GroupSpec> groups) maxPageSize(int maxPageSize) mode(AggregatorMode aggregatorMode) partialEmit(int keysThreshold, double uniquenessThreshold)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groups
-
mode
-
aggregators
-
partialEmit
-
maxPageSize
-
aggregationBatchSize
-
analysisRegistry
-
build
-