Class AssemblyStrategyTreeBuilder
java.lang.Object
com.espertech.esper.common.internal.epl.join.assemble.AssemblyStrategyTreeBuilder
Builds a tree of assembly nodes given a strategy for how to join streams.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BaseAssemblyNodeFactory
Builds a tree ofBaseAssemblyNode
from join strategy information.
-
Constructor Details
-
AssemblyStrategyTreeBuilder
public AssemblyStrategyTreeBuilder()
-
-
Method Details
-
build
public static BaseAssemblyNodeFactory build(int rootStream, Map<Integer, int[]> streamsJoinedPerStream, boolean[] isRequiredPerStream) Builds a tree ofBaseAssemblyNode
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
-