public class AggregatorLeaving extends java.lang.Object implements AggregationMethod
Modifier and Type | Field and Description |
---|---|
protected boolean |
leaving |
Constructor and Description |
---|
AggregatorLeaving() |
Modifier and Type | Method and Description |
---|---|
static void |
applyLeaveCodegen(AggregationMethodFactoryLeaving forge,
int column,
CodegenMethodNode method,
ExprForgeCodegenSymbol symbols,
CodegenClassScope classScope) |
void |
clear()
Clear out the collection.
|
static void |
clearCodegen(int column,
CodegenMethodNode method) |
void |
enter(java.lang.Object value)
Apply the value as entering aggregation (entering window).
|
java.lang.Object |
getValue()
Returns the current value held.
|
static void |
getValueCodegen(int column,
CodegenMethodNode method) |
void |
leave(java.lang.Object value)
Apply the value as leaving aggregation (leaving window).
|
static void |
rowMemberCodegen(int column,
CodegenCtor ctor,
CodegenMembersColumnized membersColumnized) |
public static void rowMemberCodegen(int column, CodegenCtor ctor, CodegenMembersColumnized membersColumnized)
public void enter(java.lang.Object value)
AggregationMethod
The value can be null since 'null' values may be counted as unique separate values.
enter
in interface AggregationMethod
value
- to add to aggregatepublic void leave(java.lang.Object value)
AggregationMethod
The value can be null since 'null' values may be counted as unique separate values.
leave
in interface AggregationMethod
value
- to remove from aggregatepublic static void applyLeaveCodegen(AggregationMethodFactoryLeaving forge, int column, CodegenMethodNode method, ExprForgeCodegenSymbol symbols, CodegenClassScope classScope)
public void clear()
AggregationMethod
clear
in interface AggregationMethod
public static void clearCodegen(int column, CodegenMethodNode method)
public java.lang.Object getValue()
AggregationMethod
getValue
in interface AggregationMethod
public static void getValueCodegen(int column, CodegenMethodNode method)