net.esper.eql.join
Class JoinSetComposerFactory
java.lang.Object
net.esper.eql.join.JoinSetComposerFactory
public class JoinSetComposerFactory
- extends Object
Factory for building a JoinSetComposer
from analyzing filter nodes, for
fast join tuple result set composition.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoinSetComposerFactory
public JoinSetComposerFactory()
makeComposer
public static JoinSetComposer makeComposer(List<OuterJoinDesc> outerJoinDescList,
ExprNode optionalFilterNode,
EventType[] streamTypes,
String[] streamNames,
Viewable[] streamViews,
SelectClauseStreamSelectorEnum selectStreamSelectorEnum)
throws ExprValidationException
- Builds join tuple composer.
- Parameters:
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 optimization
- Returns:
- composer implementation
- Throws:
ExprValidationException
- is thrown to indicate that
validation of view use in joins failed.
buildIndex
protected static EventTable buildIndex(int indexedStreamNum,
String[] indexProps,
EventType eventType)
- Build an index/table instance using the event properties for the event type.
- Parameters:
indexedStreamNum
- - number of stream indexedindexProps
- - properties to indexeventType
- - type of event to expect
- Returns:
- table build