public class AggregatorAvgFilter extends AggregatorAvg
cnt, sum
Constructor and Description |
---|
AggregatorAvgFilter() |
Modifier and Type | Method and Description |
---|---|
void |
enter(Object parameters)
Apply the value as entering aggregation (entering window).
|
void |
leave(Object parameters)
Apply the value as leaving aggregation (leaving window).
|
clear, getValue, getValueCodegen
public void enter(Object parameters)
AggregationMethod
The value can be null since 'null' values may be counted as unique separate values.
enter
in interface AggregationMethod
enter
in class AggregatorAvg
parameters
- to add to aggregatepublic void leave(Object parameters)
AggregationMethod
The value can be null since 'null' values may be counted as unique separate values.
leave
in interface AggregationMethod
leave
in class AggregatorAvg
parameters
- to remove from aggregate