|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.join.JoinSetComposerFactoryImpl
public class JoinSetComposerFactoryImpl
Factory for building a JoinSetComposer
from analyzing filter nodes, for
fast join tuple result set composition.
Constructor Summary | |
---|---|
JoinSetComposerFactoryImpl()
|
Method Summary | |
---|---|
protected static EventTable |
buildIndex(int indexedStreamNum,
String[] indexProps,
Class[] optCoercionTypes,
EventType eventType)
Build an index/table instance using the event properties for the event type. |
JoinSetComposer |
makeComposer(List<OuterJoinDesc> outerJoinDescList,
ExprNode optionalFilterNode,
EventType[] streamTypes,
String[] streamNames,
Viewable[] streamViews,
SelectClauseStreamSelectorEnum selectStreamSelectorEnum,
boolean[] isUnidirectional,
boolean[] hasChildViews,
boolean[] isNamedWindow)
Builds join tuple composer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JoinSetComposerFactoryImpl()
Method Detail |
---|
public JoinSetComposer makeComposer(List<OuterJoinDesc> outerJoinDescList, ExprNode optionalFilterNode, EventType[] streamTypes, String[] streamNames, Viewable[] streamViews, SelectClauseStreamSelectorEnum selectStreamSelectorEnum, boolean[] isUnidirectional, boolean[] hasChildViews, boolean[] isNamedWindow) throws ExprValidationException
makeComposer
in interface JoinSetComposerFactory
outerJoinDescList
- - list of descriptors for outer join criteriaoptionalFilterNode
- - filter tree for analysis to build indexes for fast accessstreamTypes
- - types of streamsstreamNames
- - names of streamsstreamViews
- - leaf view per streamselectStreamSelectorEnum
- - indicator for rstream or istream-only, for optimizationisUnidirectional
- is an array of indicators for each stream set to true for a unidirectional stream in a joinhasChildViews
- indicates if child views are declared for a streamisNamedWindow
- indicates whether the join is against named windows
ExprValidationException
- is thrown to indicate that
validation of view use in joins failed.protected static EventTable buildIndex(int indexedStreamNum, String[] indexProps, Class[] optCoercionTypes, EventType eventType)
indexedStreamNum
- - number of stream indexedindexProps
- - properties to indexoptCoercionTypes
- - optional array of coercion types, or null if no coercion is requiredeventType
- - type of event to expect
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |