public static class ExprCastNode.StringToCalendarWStaticFormatComputer extends ExprCastNode.StringToDateLongWStaticFormat
dateFormatString
Constructor and Description |
---|
StringToCalendarWStaticFormatComputer(String dateFormatString,
TimeZone timeZone) |
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 Calendar |
stringToCalendarWStaticFormatParse(DateFormat format,
Object input,
TimeZone timeZone)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
getEvaluatorComputer, isConstantForConstInput
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 Calendar stringToCalendarWStaticFormatParse(DateFormat format, Object input, TimeZone timeZone)
format
- formatinput
- inputtimeZone
- time zonepublic CodegenExpression codegenPremade(Class evaluationType, CodegenExpression input, Class inputType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
Copyright © 2005–2018. All rights reserved.