Class IntervalComputerForgeFactory.IntervalComputerConstantBefore
java.lang.Object
com.espertech.esper.common.internal.epl.datetime.interval.IntervalComputerConstantBase
com.espertech.esper.common.internal.epl.datetime.interval.IntervalComputerForgeFactory.IntervalComputerConstantBefore
- All Implemented Interfaces:
IntervalComputerEval
,IntervalComputerForge
- Enclosing class:
- IntervalComputerForgeFactory
public static class IntervalComputerForgeFactory.IntervalComputerConstantBefore
extends IntervalComputerConstantBase
implements IntervalComputerForge, IntervalComputerEval
Before.
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.datetime.interval.IntervalComputerConstantBase
end, start
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncodegen
(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
computeIntervalBefore
(long leftEnd, long right, long start, long end) NOTE: Code-generation-invoked method, method name and parameter order matters
-
Constructor Details
-
IntervalComputerConstantBefore
-
-
Method Details
-
makeComputerEval
- Specified by:
makeComputerEval
in interfaceIntervalComputerForge
-
codegen
public CodegenExpression codegen(CodegenExpression leftStart, CodegenExpression leftEnd, CodegenExpression rightStart, CodegenExpression rightEnd, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
codegen
in interfaceIntervalComputerForge
-
compute
public Boolean compute(long leftStart, long leftEnd, long rightStart, long rightEnd, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext context) - Specified by:
compute
in interfaceIntervalComputerEval
-
computeIntervalBefore
public static boolean computeIntervalBefore(long leftEnd, long right, long start, long end) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
leftEnd
- left endright
- rightstart
- startend
- end- Returns:
- flag
-