Class TimeOrderViewFactory
java.lang.Object
com.espertech.esper.common.internal.view.timetolive.TimeOrderViewFactory
- All Implemented Interfaces:
DataWindowViewFactory
,DataWindowViewWithPrevious
,ViewFactory
public class TimeOrderViewFactory
extends Object
implements DataWindowViewFactory, DataWindowViewWithPrevious
Factory for views for time-ordering events.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EPTypeClass
protected EventType
protected boolean
protected int
protected TimePeriodCompute
protected ExprEvaluator
Fields inherited from interface com.espertech.esper.common.internal.view.core.ViewFactory
EMPTY_ARRAY, EPTYPEARRAY, EPTYPEARRAYARRAY, SINGLE_ELEMENT_ARRAY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
init
(ViewFactoryContext viewFactoryContext, EPStatementInitServices services) makeView
(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) void
setEventType
(EventType eventType) void
setScheduleCallbackId
(int scheduleCallbackId) void
setTimePeriodCompute
(TimePeriodCompute timePeriodCompute) void
setTimestampEval
(ExprEvaluator timestampEval) void
setTimeToLive
(boolean timeToLive)
-
Field Details
-
EPTYPE
-
timestampEval
-
timePeriodCompute
-
eventType
-
scheduleCallbackId
protected int scheduleCallbackId -
isTimeToLive
protected boolean isTimeToLive
-
-
Constructor Details
-
TimeOrderViewFactory
public TimeOrderViewFactory()
-
-
Method Details
-
setEventType
- Specified by:
setEventType
in interfaceViewFactory
-
init
- Specified by:
init
in interfaceViewFactory
-
makePreviousGetter
- Specified by:
makePreviousGetter
in interfaceDataWindowViewWithPrevious
-
makeView
- Specified by:
makeView
in interfaceViewFactory
-
getEventType
- Specified by:
getEventType
in interfaceViewFactory
-
getTimestampEval
-
getScheduleCallbackId
public int getScheduleCallbackId() -
setTimestampEval
-
setScheduleCallbackId
public void setScheduleCallbackId(int scheduleCallbackId) -
setTimePeriodCompute
-
setTimeToLive
public void setTimeToLive(boolean timeToLive) -
getViewName
- Specified by:
getViewName
in interfaceViewFactory
-