Class ExprCastNode.StringToCalendarWStaticFormatComputer
java.lang.Object
com.espertech.esper.common.internal.epl.expression.funcs.ExprCastNode.StringToDateLongWStaticFormat
com.espertech.esper.common.internal.epl.expression.funcs.ExprCastNode.StringToCalendarWStaticFormatComputer
- All Implemented Interfaces:
ExprCastNode.CasterParserComputer
,ExprCastNode.CasterParserComputerForge
- Enclosing class:
- ExprCastNode
public static class ExprCastNode.StringToCalendarWStaticFormatComputer
extends ExprCastNode.StringToDateLongWStaticFormat
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.expression.funcs.ExprCastNode.StringToDateLongWStaticFormat
dateFormatString
-
Constructor Summary
ConstructorDescriptionStringToCalendarWStaticFormatComputer
(String dateFormatString, TimeZone timeZone) -
Method Summary
Modifier and TypeMethodDescriptioncodegenPremade
(EPTypeClass evaluationType, CodegenExpression input, EPTypeClass inputType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) 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 mattersMethods inherited from class com.espertech.esper.common.internal.epl.expression.funcs.ExprCastNode.StringToDateLongWStaticFormat
getEvaluatorComputer, isConstantForConstInput
-
Constructor Details
-
StringToCalendarWStaticFormatComputer
-
-
Method Details
-
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.- Parameters:
input
- to processeventsPerStream
- events per streamnewData
- new data indicatorexprEvaluatorContext
- evaluation context- Returns:
- cast or parse result
-
stringToCalendarWStaticFormatParse
public static Calendar stringToCalendarWStaticFormatParse(DateFormat format, Object input, TimeZone timeZone) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
format
- formatinput
- inputtimeZone
- time zone- Returns:
- cal
-
codegenPremade
public CodegenExpression codegenPremade(EPTypeClass evaluationType, CodegenExpression input, EPTypeClass inputType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
-