com.espertech.esper.epl.join.assemble
Class AssemblyStrategyTreeBuilder
java.lang.Object
com.espertech.esper.epl.join.assemble.AssemblyStrategyTreeBuilder
public class AssemblyStrategyTreeBuilder
- extends Object
Builds a tree of assembly nodes given a strategy for how to join streams.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssemblyStrategyTreeBuilder
public AssemblyStrategyTreeBuilder()
build
public static BaseAssemblyNode build(int rootStream,
Map<Integer,int[]> streamsJoinedPerStream,
boolean[] isRequiredPerStream)
- Builds a tree of
BaseAssemblyNode
from join strategy information.
- Parameters:
rootStream
- - the root stream supplying the event to evaluatestreamsJoinedPerStream
- - a map in which the key is the stream number to supply an event,
and the value is an array of streams to find events in for the given eventisRequiredPerStream
- - indicates which streams are required join streams versus optional streams
- Returns:
- root assembly node