Class TimeBatchViewFactory
java.lang.Object
com.espertech.esper.common.internal.view.timebatch.TimeBatchViewFactory
- All Implemented Interfaces:
DataWindowViewFactory
,DataWindowViewWithPrevious
,ViewFactory
public class TimeBatchViewFactory
extends Object
implements DataWindowViewFactory, DataWindowViewWithPrevious
Factory for
TimeBatchView
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final EPTypeClass
protected EventType
protected boolean
protected boolean
protected Long
The reference point, or null if none supplied.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) boolean
boolean
makeView
(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) void
setEventType
(EventType eventType) void
setForceUpdate
(boolean forceUpdate) void
setOptionalReferencePoint
(Long optionalReferencePoint) void
setScheduleCallbackId
(int scheduleCallbackId) void
setStartEager
(boolean startEager) void
setTimePeriodCompute
(TimePeriodCompute timePeriodCompute)
-
Field Details
-
EPTYPE
-
optionalReferencePoint
The reference point, or null if none supplied. -
scheduleCallbackId
protected int scheduleCallbackId -
timePeriodCompute
-
eventType
-
isForceUpdate
protected boolean isForceUpdate -
isStartEager
protected boolean isStartEager
-
-
Constructor Details
-
TimeBatchViewFactory
public TimeBatchViewFactory()
-
-
Method Details
-
setOptionalReferencePoint
-
setScheduleCallbackId
public void setScheduleCallbackId(int scheduleCallbackId) -
setTimePeriodCompute
-
setEventType
- Specified by:
setEventType
in interfaceViewFactory
-
setForceUpdate
public void setForceUpdate(boolean forceUpdate) -
setStartEager
public void setStartEager(boolean startEager) -
init
- Specified by:
init
in interfaceViewFactory
-
makePreviousGetter
- Specified by:
makePreviousGetter
in interfaceDataWindowViewWithPrevious
-
makeView
- Specified by:
makeView
in interfaceViewFactory
-
getEventType
- Specified by:
getEventType
in interfaceViewFactory
-
getOptionalReferencePoint
-
getScheduleCallbackId
public int getScheduleCallbackId() -
isForceUpdate
public boolean isForceUpdate() -
isStartEager
public boolean isStartEager() -
getViewName
- Specified by:
getViewName
in interfaceViewFactory
-