Class ExprCastNode.NumberCasterComputer
java.lang.Object
com.espertech.esper.common.internal.epl.expression.funcs.ExprCastNode.NumberCasterComputer
- All Implemented Interfaces:
ExprCastNode.CasterParserComputer
,ExprCastNode.CasterParserComputerForge
- Enclosing class:
- ExprCastNode
public static class ExprCastNode.NumberCasterComputer
extends Object
implements ExprCastNode.CasterParserComputerForge, ExprCastNode.CasterParserComputer
Casting and parsing computer.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncodegenPremade
(EPTypeClass evaluationType, CodegenExpression input, EPTypeClass inputType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) compute
(Object input, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) Compute an result performing casting and parsing.boolean
-
Constructor Details
-
NumberCasterComputer
-
-
Method Details
-
compute
public Object compute(Object input, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) Description copied from interface:ExprCastNode.CasterParserComputer
Compute an result performing casting and parsing.- Specified by:
compute
in interfaceExprCastNode.CasterParserComputer
- Parameters:
input
- to processeventsPerStream
- events per streamnewData
- new data indicatorexprEvaluatorContext
- evaluation context- Returns:
- cast or parse result
-
isConstantForConstInput
public boolean isConstantForConstInput()- Specified by:
isConstantForConstInput
in interfaceExprCastNode.CasterParserComputerForge
-
codegenPremade
public CodegenExpression codegenPremade(EPTypeClass evaluationType, CodegenExpression input, EPTypeClass inputType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) - Specified by:
codegenPremade
in interfaceExprCastNode.CasterParserComputerForge
-
getEvaluatorComputer
- Specified by:
getEvaluatorComputer
in interfaceExprCastNode.CasterParserComputerForge
-