Class IntervalComputerForgeFactory.IntervalComputerDuringAndIncludesMinMaxEval
java.lang.Object
com.espertech.esper.common.internal.epl.datetime.interval.IntervalComputerForgeFactory.IntervalComputerDuringAndIncludesMinMaxEval
- All Implemented Interfaces:
IntervalComputerEval
- Enclosing class:
- IntervalComputerForgeFactory
public static class IntervalComputerForgeFactory.IntervalComputerDuringAndIncludesMinMaxEval
extends Object
implements IntervalComputerEval
-
Constructor Summary
ConstructorDescriptionIntervalComputerDuringAndIncludesMinMaxEval
(boolean during, IntervalDeltaExprEvaluator minEval, IntervalDeltaExprEvaluator maxEval) -
Method Summary
Modifier and TypeMethodDescriptionstatic CodegenExpression
codegen
(IntervalComputerForgeFactory.IntervalComputerDuringAndIncludesMinMax 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) static boolean
computeIntervalDuring
(long left, long leftEnd, long right, long rightEnd, long startMin, long startMax, long endMin, long endMax) static boolean
computeIntervalIncludes
(long left, long leftEnd, long right, long rightEnd, long startMin, long startMax, long endMin, long endMax)
-
Constructor Details
-
IntervalComputerDuringAndIncludesMinMaxEval
public IntervalComputerDuringAndIncludesMinMaxEval(boolean during, IntervalDeltaExprEvaluator minEval, IntervalDeltaExprEvaluator maxEval)
-
-
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.IntervalComputerDuringAndIncludesMinMax forge, CodegenExpression leftStart, CodegenExpression leftEnd, CodegenExpression rightStart, CodegenExpression rightEnd, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) -
computeIntervalDuring
public static boolean computeIntervalDuring(long left, long leftEnd, long right, long rightEnd, long startMin, long startMax, long endMin, long endMax) -
computeIntervalIncludes
public static boolean computeIntervalIncludes(long left, long leftEnd, long right, long rightEnd, long startMin, long startMax, long endMin, long endMax)
-