public abstract static class ExprCastNode.StringToJava8WStaticFormatComputer extends java.lang.Object implements ExprCastNode.CasterParserComputerForge, ExprCastNode.CasterParserComputer
Modifier and Type | Field and Description |
---|---|
protected java.time.format.DateTimeFormatter |
formatter |
Constructor and Description |
---|
StringToJava8WStaticFormatComputer(java.time.format.DateTimeFormatter formatter) |
Modifier and Type | Method and Description |
---|---|
protected CodegenExpression |
codegenFormatter(CodegenClassScope codegenClassScope) |
java.lang.Object |
compute(java.lang.Object input,
EventBean[] eventsPerStream,
boolean newData,
ExprEvaluatorContext exprEvaluatorContext)
Compute an result performing casting and parsing.
|
ExprCastNode.CasterParserComputer |
getEvaluatorComputer() |
boolean |
isConstantForConstInput() |
abstract java.lang.Object |
parse(java.lang.String input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
codegenPremade
public StringToJava8WStaticFormatComputer(java.time.format.DateTimeFormatter formatter)
public boolean isConstantForConstInput()
isConstantForConstInput
in interface ExprCastNode.CasterParserComputerForge
public abstract java.lang.Object parse(java.lang.String input)
public java.lang.Object compute(java.lang.Object input, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext)
ExprCastNode.CasterParserComputer
compute
in interface ExprCastNode.CasterParserComputer
input
- to processeventsPerStream
- events per streamnewData
- new data indicatorexprEvaluatorContext
- evaluation contextprotected CodegenExpression codegenFormatter(CodegenClassScope codegenClassScope)
public ExprCastNode.CasterParserComputer getEvaluatorComputer()
getEvaluatorComputer
in interface ExprCastNode.CasterParserComputerForge