Class ReformatBetweenConstantParamsForge
java.lang.Object
com.espertech.esper.common.internal.epl.datetime.reformatop.ReformatBetweenConstantParamsForge
- All Implemented Interfaces:
ReformatForge
,ReformatOp
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncodegenCal
(CodegenExpression inner, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) codegenDate
(CodegenExpression inner, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) codegenLDT
(CodegenExpression inner, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) codegenLong
(CodegenExpression inner, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) codegenZDT
(CodegenExpression inner, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) evaluate
(Long ts, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) evaluate
(LocalDateTime ldt, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) evaluate
(ZonedDateTime zdt, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) evaluate
(Calendar cal, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) evaluate
(Date d, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) evaluateInternal
(long ts) getFilterDesc
(EventType[] typesPerStream, DatetimeMethodDesc currentMethod, List<ExprNode> currentParameters, ExprDotNodeFilterAnalyzerInput inputDesc) getOp()
-
Constructor Details
-
ReformatBetweenConstantParamsForge
- Throws:
ExprValidationException
-
-
Method Details
-
getOp
- Specified by:
getOp
in interfaceReformatForge
-
evaluate
public Object evaluate(Long ts, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) - Specified by:
evaluate
in interfaceReformatOp
-
evaluate
public Object evaluate(Date d, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) - Specified by:
evaluate
in interfaceReformatOp
-
codegenDate
public CodegenExpression codegenDate(CodegenExpression inner, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
codegenDate
in interfaceReformatForge
-
evaluate
public Object evaluate(Calendar cal, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) - Specified by:
evaluate
in interfaceReformatOp
-
codegenCal
public CodegenExpression codegenCal(CodegenExpression inner, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
codegenCal
in interfaceReformatForge
-
evaluate
public Object evaluate(LocalDateTime ldt, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) - Specified by:
evaluate
in interfaceReformatOp
-
codegenLDT
public CodegenExpression codegenLDT(CodegenExpression inner, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
codegenLDT
in interfaceReformatForge
-
evaluate
public Object evaluate(ZonedDateTime zdt, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) - Specified by:
evaluate
in interfaceReformatOp
-
codegenZDT
public CodegenExpression codegenZDT(CodegenExpression inner, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
codegenZDT
in interfaceReformatForge
-
evaluateInternal
-
codegenLong
public CodegenExpression codegenLong(CodegenExpression inner, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
codegenLong
in interfaceReformatForge
-
getReturnType
- Specified by:
getReturnType
in interfaceReformatForge
-
getFilterDesc
public FilterExprAnalyzerAffector getFilterDesc(EventType[] typesPerStream, DatetimeMethodDesc currentMethod, List<ExprNode> currentParameters, ExprDotNodeFilterAnalyzerInput inputDesc) - Specified by:
getFilterDesc
in interfaceReformatForge
-