Class TimePeriodComputeNCGivenTPNonCalEval
java.lang.Object
com.espertech.esper.common.internal.epl.expression.time.eval.TimePeriodComputeNCGivenTPNonCalEval
- All Implemented Interfaces:
TimePeriodCompute
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTimePeriodComputeNCGivenTPNonCalEval
(ExprEvaluator[] evaluators, TimePeriodAdder[] adders, TimeAbacus timeAbacus) -
Method Summary
Modifier and TypeMethodDescriptionlong
deltaAdd
(long currentTime, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) deltaAddWReference
(long current, long reference, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) long
deltaSubtract
(long currentTime, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) long
deltaUseRuntimeTime
(EventBean[] eventsPerStream, ExprEvaluatorContext context, TimeProvider timeProvider) void
setAdders
(TimePeriodAdder[] adders) void
setEvaluators
(ExprEvaluator[] evaluators) void
setTimeAbacus
(TimeAbacus timeAbacus)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
TimePeriodComputeNCGivenTPNonCalEval
public TimePeriodComputeNCGivenTPNonCalEval() -
TimePeriodComputeNCGivenTPNonCalEval
public TimePeriodComputeNCGivenTPNonCalEval(ExprEvaluator[] evaluators, TimePeriodAdder[] adders, TimeAbacus timeAbacus)
-
-
Method Details
-
setEvaluators
-
setAdders
-
setTimeAbacus
-
deltaAdd
public long deltaAdd(long currentTime, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
deltaAdd
in interfaceTimePeriodCompute
-
deltaSubtract
public long deltaSubtract(long currentTime, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
deltaSubtract
in interfaceTimePeriodCompute
-
deltaUseRuntimeTime
public long deltaUseRuntimeTime(EventBean[] eventsPerStream, ExprEvaluatorContext context, TimeProvider timeProvider) - Specified by:
deltaUseRuntimeTime
in interfaceTimePeriodCompute
-
deltaAddWReference
public TimePeriodDeltaResult deltaAddWReference(long current, long reference, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
deltaAddWReference
in interfaceTimePeriodCompute
-
getNonVariableProvide
- Specified by:
getNonVariableProvide
in interfaceTimePeriodCompute
-