public static class ExprCastNode.StringParserComputer extends Object implements ExprCastNode.CasterParserComputer, ExprCastNode.CasterParserComputerForge
Constructor and Description |
---|
StringParserComputer(SimpleTypeParserSPI parser) |
Modifier and Type | Method and Description |
---|---|
CodegenExpression |
codegenPremade(Class evaluationType,
CodegenExpression input,
Class inputType,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
Object |
compute(Object input,
EventBean[] eventsPerStream,
boolean newData,
ExprEvaluatorContext exprEvaluatorContext)
Compute an result performing casting and parsing.
|
ExprCastNode.CasterParserComputer |
getEvaluatorComputer() |
boolean |
isConstantForConstInput() |
public StringParserComputer(SimpleTypeParserSPI parser)
public Object compute(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 contextpublic boolean isConstantForConstInput()
isConstantForConstInput
in interface ExprCastNode.CasterParserComputerForge
public CodegenExpression codegenPremade(Class evaluationType, CodegenExpression input, Class inputType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
codegenPremade
in interface ExprCastNode.CasterParserComputerForge
public ExprCastNode.CasterParserComputer getEvaluatorComputer()
getEvaluatorComputer
in interface ExprCastNode.CasterParserComputerForge
Copyright © 2005–2018. All rights reserved.