public class AggregationAgentDefault extends Object implements AggregationMultiFunctionAgent, AggregationAgentForge
Modifier and Type | Field and Description |
---|---|
static AggregationAgentDefault |
INSTANCE |
EPTYPE
Modifier and Type | Method and Description |
---|---|
void |
applyEnter(EventBean[] eventsPerStream,
ExprEvaluatorContext exprEvaluatorContext,
AggregationRow row,
int column)
Enter-into (add to) an aggregation
|
void |
applyLeave(EventBean[] eventsPerStream,
ExprEvaluatorContext exprEvaluatorContext,
AggregationRow row,
int column)
Leave-from (remove from) an aggregation
|
ExprForge |
getOptionalFilter() |
CodegenExpression |
make(CodegenMethod method,
SAIFFInitializeSymbol symbols,
CodegenClassScope classScope) |
public static final AggregationAgentDefault INSTANCE
public CodegenExpression make(CodegenMethod method, SAIFFInitializeSymbol symbols, CodegenClassScope classScope)
make
in interface AggregationAgentForge
public void applyEnter(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext, AggregationRow row, int column)
AggregationMultiFunctionAgent
applyEnter
in interface AggregationMultiFunctionAgent
eventsPerStream
- eventsexprEvaluatorContext
- evaluation contextrow
- aggregation rowcolumn
- column assigned to the aggregation statepublic void applyLeave(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext, AggregationRow row, int column)
AggregationMultiFunctionAgent
applyLeave
in interface AggregationMultiFunctionAgent
eventsPerStream
- eventsexprEvaluatorContext
- evaluation contextrow
- aggregation rowcolumn
- column assigned to the aggregation statepublic ExprForge getOptionalFilter()
getOptionalFilter
in interface AggregationAgentForge
Copyright © 2005–2020. All rights reserved.