Class ExprCastNode.StringToLongWStaticFormatComputer
java.lang.Object
com.espertech.esper.common.internal.epl.expression.funcs.ExprCastNode.StringToDateLongWStaticFormat
com.espertech.esper.common.internal.epl.expression.funcs.ExprCastNode.StringToLongWStaticFormatComputer
- All Implemented Interfaces:
ExprCastNode.CasterParserComputer
,ExprCastNode.CasterParserComputerForge
- Enclosing class:
- ExprCastNode
public static class ExprCastNode.StringToLongWStaticFormatComputer
extends ExprCastNode.StringToDateLongWStaticFormat
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.expression.funcs.ExprCastNode.StringToDateLongWStaticFormat
dateFormatString
-
Constructor Summary
-
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 long
stringToLongWStaticFormatParseSafe
(DateFormat format, Object input) 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
-
StringToLongWStaticFormatComputer
-
-
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
-
stringToLongWStaticFormatParseSafe
NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
format
- formatinput
- input- Returns:
- msec
-
codegenPremade
public CodegenExpression codegenPremade(EPTypeClass evaluationType, CodegenExpression input, EPTypeClass inputType, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
-