Class TimePeriodComputeConstGivenDeltaEval
java.lang.Object
com.espertech.esper.common.internal.epl.expression.time.eval.TimePeriodComputeConstGivenDeltaEval
- All Implemented Interfaces:
TimePeriodCompute
,TimePeriodProvide
public class TimePeriodComputeConstGivenDeltaEval
extends Object
implements TimePeriodCompute, TimePeriodProvide
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
deltaAdd
(long fromTime, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) deltaAddWReference
(long fromTime, long reference, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) long
deltaSubtract
(long fromTime, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) long
deltaUseRuntimeTime
(EventBean[] eventsPerStream, ExprEvaluatorContext context, TimeProvider timeProvider)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
TimePeriodComputeConstGivenDeltaEval
public TimePeriodComputeConstGivenDeltaEval(long timeDelta)
-
-
Method Details
-
deltaAdd
public long deltaAdd(long fromTime, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
deltaAdd
in interfaceTimePeriodCompute
- Specified by:
deltaAdd
in interfaceTimePeriodProvide
-
deltaSubtract
public long deltaSubtract(long fromTime, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
deltaSubtract
in interfaceTimePeriodCompute
- Specified by:
deltaSubtract
in interfaceTimePeriodProvide
-
deltaAddWReference
public TimePeriodDeltaResult deltaAddWReference(long fromTime, long reference, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
deltaAddWReference
in interfaceTimePeriodCompute
- Specified by:
deltaAddWReference
in interfaceTimePeriodProvide
-
deltaUseRuntimeTime
public long deltaUseRuntimeTime(EventBean[] eventsPerStream, ExprEvaluatorContext context, TimeProvider timeProvider) - Specified by:
deltaUseRuntimeTime
in interfaceTimePeriodCompute
-
getNonVariableProvide
- Specified by:
getNonVariableProvide
in interfaceTimePeriodCompute
-