Class ExprPreviousEvalStrategyCount
java.lang.Object
com.espertech.esper.common.internal.epl.expression.prev.ExprPreviousEvalStrategyCount
- All Implemented Interfaces:
ExprPreviousEvalStrategy
-
Constructor Summary
ConstructorDescriptionExprPreviousEvalStrategyCount
(int streamNumber, RandomAccessByIndexGetter randomAccessGetter, RelativeAccessByEventNIndexGetter relativeAccessGetter) -
Method Summary
Modifier and TypeMethodDescriptionevaluate
(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext) evaluateGetCollEvents
(EventBean[] eventsPerStream, ExprEvaluatorContext context) evaluateGetCollScalar
(EventBean[] eventsPerStream, ExprEvaluatorContext context) evaluateGetEventBean
(EventBean[] eventsPerStream, ExprEvaluatorContext context)
-
Constructor Details
-
ExprPreviousEvalStrategyCount
public ExprPreviousEvalStrategyCount(int streamNumber, RandomAccessByIndexGetter randomAccessGetter, RelativeAccessByEventNIndexGetter relativeAccessGetter)
-
-
Method Details
-
evaluate
- Specified by:
evaluate
in interfaceExprPreviousEvalStrategy
-
evaluateGetCollEvents
public Collection<EventBean> evaluateGetCollEvents(EventBean[] eventsPerStream, ExprEvaluatorContext context) - Specified by:
evaluateGetCollEvents
in interfaceExprPreviousEvalStrategy
-
evaluateGetCollScalar
- Specified by:
evaluateGetCollScalar
in interfaceExprPreviousEvalStrategy
-
evaluateGetEventBean
- Specified by:
evaluateGetEventBean
in interfaceExprPreviousEvalStrategy
-