Class TimeWindowViewFactory
java.lang.Object
com.espertech.esper.common.internal.view.timewin.TimeWindowViewFactory
- All Implemented Interfaces:
DataWindowViewFactory
,DataWindowViewWithPrevious
,ViewFactory
public class TimeWindowViewFactory
extends Object
implements DataWindowViewFactory, DataWindowViewWithPrevious
Factory for
TimeWindowView
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final EPTypeClass
protected EventType
protected int
protected TimePeriodCompute
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)
-
Field Details
-
EPTYPE
-
timePeriodCompute
-
scheduleCallbackId
protected int scheduleCallbackId -
eventType
-
-
Constructor Details
-
TimeWindowViewFactory
public TimeWindowViewFactory()
-
-
Method Details
-
setTimePeriodCompute
-
setScheduleCallbackId
public void setScheduleCallbackId(int scheduleCallbackId) -
setEventType
- Specified by:
setEventType
in interfaceViewFactory
-
init
- Specified by:
init
in interfaceViewFactory
-
makePreviousGetter
- Specified by:
makePreviousGetter
in interfaceDataWindowViewWithPrevious
-
makeView
- Specified by:
makeView
in interfaceViewFactory
-
getScheduleCallbackId
public int getScheduleCallbackId() -
getEventType
- Specified by:
getEventType
in interfaceViewFactory
-
getViewName
- Specified by:
getViewName
in interfaceViewFactory
-