Class IntervalComputerForgeFactory.IntervalComputerDuringAndIncludesThresholdEval
java.lang.Object
com.espertech.esper.common.internal.epl.datetime.interval.IntervalComputerForgeFactory.IntervalComputerDuringAndIncludesThresholdEval
- All Implemented Interfaces:
IntervalComputerEval
- Enclosing class:
- IntervalComputerForgeFactory
public static class IntervalComputerForgeFactory.IntervalComputerDuringAndIncludesThresholdEval
extends Object
implements IntervalComputerEval
-
Constructor Summary
ConstructorDescriptionIntervalComputerDuringAndIncludesThresholdEval
(boolean during, IntervalDeltaExprEvaluator threshold) -
Method Summary
Modifier and TypeMethodDescriptionstatic CodegenExpression
codegen
(IntervalComputerForgeFactory.IntervalComputerDuringAndIncludesThresholdForge forge, CodegenExpression leftStart, CodegenExpression leftEnd, CodegenExpression rightStart, CodegenExpression rightEnd, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) compute
(long leftStart, long leftEnd, long rightStart, long rightEnd, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext context)
-
Constructor Details
-
IntervalComputerDuringAndIncludesThresholdEval
public IntervalComputerDuringAndIncludesThresholdEval(boolean during, IntervalDeltaExprEvaluator threshold)
-
-
Method Details
-
compute
public Boolean compute(long leftStart, long leftEnd, long rightStart, long rightEnd, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext context) - Specified by:
compute
in interfaceIntervalComputerEval
-
codegen
public static CodegenExpression codegen(IntervalComputerForgeFactory.IntervalComputerDuringAndIncludesThresholdForge forge, CodegenExpression leftStart, CodegenExpression leftEnd, CodegenExpression rightStart, CodegenExpression rightEnd, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
-