Class CalendarWithTimeForgeOp
java.lang.Object
com.espertech.esper.common.internal.epl.datetime.calop.CalendarWithTimeForgeOp
- All Implemented Interfaces:
CalendarOp
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCalendarWithTimeForgeOp
(ExprEvaluator hour, ExprEvaluator min, ExprEvaluator sec, ExprEvaluator msec) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
NOTE: Code-generation-invoked method, method name and parameter order mattersstatic LocalDateTime
actionSetHMSMLocalDateTime
(LocalDateTime ldt, Integer hour, Integer minute, Integer second, Integer msec) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic ZonedDateTime
actionSetHMSMZonedDateTime
(ZonedDateTime zdt, Integer hour, Integer minute, Integer second, Integer msec) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic CodegenExpression
codegenCalendar
(CalendarWithTimeForge forge, CodegenExpression cal, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) static CodegenExpression
codegenLDT
(CalendarWithTimeForge forge, CodegenExpression ldt, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) static CodegenExpression
codegenZDT
(CalendarWithTimeForge forge, CodegenExpression zdt, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) evaluate
(LocalDateTime ldt, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) evaluate
(ZonedDateTime zdt, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) void
evaluate
(Calendar cal, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
-
Field Details
-
METHOD_ACTIONSETHMSMCALENDAR
- See Also:
-
-
Constructor Details
-
CalendarWithTimeForgeOp
public CalendarWithTimeForgeOp(ExprEvaluator hour, ExprEvaluator min, ExprEvaluator sec, ExprEvaluator msec)
-
-
Method Details
-
evaluate
public void evaluate(Calendar cal, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
evaluate
in interfaceCalendarOp
-
codegenCalendar
public static CodegenExpression codegenCalendar(CalendarWithTimeForge forge, CodegenExpression cal, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) -
evaluate
public LocalDateTime evaluate(LocalDateTime ldt, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
evaluate
in interfaceCalendarOp
-
codegenLDT
public static CodegenExpression codegenLDT(CalendarWithTimeForge forge, CodegenExpression ldt, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) -
evaluate
public ZonedDateTime evaluate(ZonedDateTime zdt, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context) - Specified by:
evaluate
in interfaceCalendarOp
-
codegenZDT
public static CodegenExpression codegenZDT(CalendarWithTimeForge forge, CodegenExpression zdt, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope) -
actionSetHMSMCalendar
public static void actionSetHMSMCalendar(Calendar cal, Integer hour, Integer minute, Integer second, Integer msec) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
cal
- calhour
- hourminute
- minsecond
- secmsec
- msec
-
actionSetHMSMLocalDateTime
public static LocalDateTime actionSetHMSMLocalDateTime(LocalDateTime ldt, Integer hour, Integer minute, Integer second, Integer msec) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
ldt
- ldthour
- hourminute
- minsecond
- secmsec
- msec- Returns:
- ldt
-
actionSetHMSMZonedDateTime
public static ZonedDateTime actionSetHMSMZonedDateTime(ZonedDateTime zdt, Integer hour, Integer minute, Integer second, Integer msec) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
zdt
- zdthour
- hourminute
- minsecond
- secmsec
- msec- Returns:
- ldt
-