public class AggregationMethodFactoryRate extends Object implements AggregationMethodFactory
Modifier and Type | Field and Description |
---|---|
protected long |
intervalTime |
protected boolean |
isEver |
protected ExprRateAggNode |
parent |
protected TimeAbacus |
timeAbacus |
protected TimeProvider |
timeProvider |
Constructor and Description |
---|
AggregationMethodFactoryRate(ExprRateAggNode parent,
boolean isEver,
long intervalTime,
TimeProvider timeProvider,
TimeAbacus timeAbacus) |
Modifier and Type | Method and Description |
---|---|
AggregationAccessor |
getAccessor() |
ExprAggregateNodeBase |
getAggregationExpression() |
AggregationAgent |
getAggregationStateAgent(EngineImportService engineImportService,
String statementName) |
AggregationStateFactory |
getAggregationStateFactory(boolean isMatchRecognize) |
AggregationStateKey |
getAggregationStateKey(boolean isMatchRecognize) |
ExprEvaluator |
getMethodAggregationEvaluator(boolean join,
EventType[] typesPerStream) |
Class |
getResultType() |
boolean |
isAccessAggregation() |
AggregationMethod |
make() |
void |
validateIntoTableCompatible(AggregationMethodFactory intoTableAgg) |
protected final ExprRateAggNode parent
protected final boolean isEver
protected final long intervalTime
protected final TimeProvider timeProvider
protected final TimeAbacus timeAbacus
public AggregationMethodFactoryRate(ExprRateAggNode parent, boolean isEver, long intervalTime, TimeProvider timeProvider, TimeAbacus timeAbacus)
public boolean isAccessAggregation()
isAccessAggregation
in interface AggregationMethodFactory
public Class getResultType()
getResultType
in interface AggregationMethodFactory
public AggregationStateKey getAggregationStateKey(boolean isMatchRecognize)
getAggregationStateKey
in interface AggregationMethodFactory
public AggregationStateFactory getAggregationStateFactory(boolean isMatchRecognize)
getAggregationStateFactory
in interface AggregationMethodFactory
public AggregationAccessor getAccessor()
getAccessor
in interface AggregationMethodFactory
public AggregationMethod make()
make
in interface AggregationMethodFactory
public ExprAggregateNodeBase getAggregationExpression()
getAggregationExpression
in interface AggregationMethodFactory
public void validateIntoTableCompatible(AggregationMethodFactory intoTableAgg) throws ExprValidationException
validateIntoTableCompatible
in interface AggregationMethodFactory
ExprValidationException
public AggregationAgent getAggregationStateAgent(EngineImportService engineImportService, String statementName)
getAggregationStateAgent
in interface AggregationMethodFactory
public ExprEvaluator getMethodAggregationEvaluator(boolean join, EventType[] typesPerStream) throws ExprValidationException
getMethodAggregationEvaluator
in interface AggregationMethodFactory
ExprValidationException