Package org.elasticsearch.compute.ann
Annotation Interface GroupingAggregator
Annotates a class that implements an aggregation function with grouping.
See
Aggregator for more information.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhenfalse(the default), the generatedprepareProcessRawInputPagewill returnnull— opting out of the callback loop — when all values in an input block are null, because there is nothing to aggregate.Exceptions thrown by the `combine*(...)` methods to catch and convert into a warning and turn into a null value.
-
Element Details
-
value
IntermediateState[] value- Default:
{}
-
warnExceptions
Exceptions thrown by the `combine*(...)` methods to catch and convert into a warning and turn into a null value.- Default:
{}
-
processNulls
boolean processNullsWhenfalse(the default), the generatedprepareProcessRawInputPagewill returnnull— opting out of the callback loop — when all values in an input block are null, because there is nothing to aggregate.Set to
truefor aggregations likeFIRSTandLASTthat need to process null values to correctly track position-based semantics.- Default:
false
-