Class ExprCastNode.StringToJava8WStaticFormatComputer
java.lang.Object
com.espertech.esper.common.internal.epl.expression.funcs.ExprCastNode.StringToJava8WStaticFormatComputer
- All Implemented Interfaces:
ExprCastNode.CasterParserComputer
,ExprCastNode.CasterParserComputerForge
- Direct Known Subclasses:
ExprCastNode.StringToLocalDateTimeWStaticFormatComputer
,ExprCastNode.StringToLocalDateWStaticFormatComputer
,ExprCastNode.StringToLocalTimeWStaticFormatComputer
,ExprCastNode.StringToZonedDateTimeWStaticFormatComputer
- Enclosing class:
- ExprCastNode
public abstract static class ExprCastNode.StringToJava8WStaticFormatComputer
extends Object
implements ExprCastNode.CasterParserComputerForge, ExprCastNode.CasterParserComputer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CodegenExpression
codegenFormatter
(CodegenClassScope codegenClassScope) compute
(Object input, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext) Compute an result performing casting and parsing.boolean
abstract Object
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.espertech.esper.common.internal.epl.expression.funcs.ExprCastNode.CasterParserComputerForge
codegenPremade
-
Field Details
-
format
-
-
Constructor Details
-
StringToJava8WStaticFormatComputer
-
-
Method Details
-
isConstantForConstInput
public boolean isConstantForConstInput()- Specified by:
isConstantForConstInput
in interfaceExprCastNode.CasterParserComputerForge
-
parse
-
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
-
codegenFormatter
-
getEvaluatorComputer
- Specified by:
getEvaluatorComputer
in interfaceExprCastNode.CasterParserComputerForge
-