public static class ExprCastNode.StringToLongWStaticFormatComputer extends ExprCastNode.StringToDateLongWStaticFormat
dateFormatString
Constructor and Description |
---|
StringToLongWStaticFormatComputer(String dateFormatString) |
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.
|
static long |
stringToLongWStaticFormatParseSafe(DateFormat format,
Object input)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
getEvaluatorComputer, isConstantForConstInput
public StringToLongWStaticFormatComputer(String dateFormatString)
public Object compute(Object input, EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext exprEvaluatorContext)
ExprCastNode.CasterParserComputer
input
- to processeventsPerStream
- events per streamnewData
- new data indicatorexprEvaluatorContext
- evaluation contextpublic static long stringToLongWStaticFormatParseSafe(DateFormat format, Object input)
format
- formatinput
- inputpublic CodegenExpression codegenPremade(Class evaluationType, CodegenExpression input, Class inputType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
Copyright © 2005–2018. All rights reserved.