Class PriorEventViewFactory
java.lang.Object
com.espertech.esper.common.internal.view.prior.PriorEventViewFactory
- All Implemented Interfaces:
ViewFactory
Factory for making
PriorEventView
instances.-
Field Summary
Modifier and TypeFieldDescriptionstatic final EPTypeClass
protected EventType
protected boolean
unbound to indicate the we are not receiving remove stream events (unbound stream, stream without child views) therefore must use a different buffer.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 TypeMethodDescriptionvoid
init
(ViewFactoryContext viewFactoryContext, EPStatementInitServices services) makeView
(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) makeViewUpdatedCollection
(SortedSet<Integer> priorRequests, AgentInstanceContext agentInstanceContext) void
setEventType
(EventType eventType) void
setUnbound
(boolean unbound)
-
Field Details
-
EPTYPE
-
eventType
-
isUnbound
protected boolean isUnboundunbound to indicate the we are not receiving remove stream events (unbound stream, stream without child views) therefore must use a different buffer.
-
-
Constructor Details
-
PriorEventViewFactory
public PriorEventViewFactory()
-
-
Method Details
-
setUnbound
public void setUnbound(boolean unbound) -
setEventType
- Specified by:
setEventType
in interfaceViewFactory
-
init
- Specified by:
init
in interfaceViewFactory
-
makeView
- Specified by:
makeView
in interfaceViewFactory
-
makeViewUpdatedCollection
public ViewUpdatedCollection makeViewUpdatedCollection(SortedSet<Integer> priorRequests, AgentInstanceContext agentInstanceContext) -
getEventType
- Specified by:
getEventType
in interfaceViewFactory
-
getViewName
- Specified by:
getViewName
in interfaceViewFactory
-