net.esper.eql.join
Class JoinSetComposerFactory
java.lang.Object
net.esper.eql.join.JoinSetComposerFactory
public class JoinSetComposerFactory
- extends java.lang.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 JoinSetComposerImpl makeComposer(java.util.List<OuterJoinDesc> outerJoinDescList,
ExprNode optionalFilterNode,
EventType[] streamTypes,
java.lang.String[] streamNames)
- 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 streams
- Returns:
- composer implementation
buildIndex
protected static EventTable buildIndex(int indexedStreamNum,
java.lang.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