public interface AggregationFunction
Implementations must also act as a factory for further independent copies of aggregation states such that new aggregation state holders and be created from a prototype.
Modifier and Type | Field and Description |
---|---|
static EPTypeClass |
EPTYPE
Type information.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear out the collection.
|
void |
enter(java.lang.Object value)
Apply the value as entering aggregation (entering window).
|
java.lang.Object |
getValue()
Returns the current value held.
|
void |
leave(java.lang.Object value)
Apply the value as leaving aggregation (leaving window).
|
static final EPTypeClass EPTYPE
void enter(java.lang.Object value)
The value can be null since 'null' values may be counted as unique separate values.
value
- to add to aggregatevoid leave(java.lang.Object value)
The value can be null since 'null' values may be counted as unique separate values.
value
- to remove from aggregatejava.lang.Object getValue()
void clear()