Class IntersectViewFactory
java.lang.Object
com.espertech.esper.common.internal.view.intersect.IntersectViewFactory
- All Implemented Interfaces:
DataWindowViewFactory
,ViewFactory
Factory for union-views.
-
Field Summary
Modifier and TypeFieldDescriptionprotected ThreadLocal<IntersectAsymetricViewLocalState>
protected int
protected ThreadLocal<IntersectBatchViewLocalState>
protected ThreadLocal<IntersectDefaultViewLocalState>
static final EPTypeClass
protected EventType
protected boolean
protected ViewFactory[]
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
static String
getViewNameUnionIntersect
(boolean intersect, ViewFactory[] factories) void
init
(ViewFactoryContext viewFactoryContext, EPStatementInitServices services) boolean
makeView
(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) void
setBatchViewIndex
(int batchViewIndex) void
setEventType
(EventType eventType) void
setHasAsymetric
(boolean hasAsymetric) void
setIntersecteds
(ViewFactory[] intersecteds)
-
Field Details
-
EPTYPE
-
eventType
-
intersecteds
-
batchViewIndex
protected int batchViewIndex -
hasAsymetric
protected boolean hasAsymetric -
batchViewLocalState
-
defaultViewLocalState
-
asymetricViewLocalState
-
-
Constructor Details
-
IntersectViewFactory
public IntersectViewFactory()
-
-
Method Details
-
setEventType
- Specified by:
setEventType
in interfaceViewFactory
-
init
- Specified by:
init
in interfaceViewFactory
-
makeView
- Specified by:
makeView
in interfaceViewFactory
-
getEventType
- Specified by:
getEventType
in interfaceViewFactory
-
getBatchViewIndex
public int getBatchViewIndex() -
isHasAsymetric
public boolean isHasAsymetric() -
getBatchViewLocalStatePerThread
-
getDefaultViewLocalStatePerThread
-
getAsymetricViewLocalStatePerThread
-
setBatchViewIndex
public void setBatchViewIndex(int batchViewIndex) -
setHasAsymetric
public void setHasAsymetric(boolean hasAsymetric) -
setIntersecteds
-
getIntersecteds
-
getViewName
- Specified by:
getViewName
in interfaceViewFactory
-
getViewNameUnionIntersect
-