Class AssemblyStrategyTreeBuilder

java.lang.Object
com.espertech.esper.common.internal.epl.join.assemble.AssemblyStrategyTreeBuilder

public class AssemblyStrategyTreeBuilder extends Object
Builds a tree of assembly nodes given a strategy for how to join streams.
  • Constructor Details

    • AssemblyStrategyTreeBuilder

      public AssemblyStrategyTreeBuilder()
  • Method Details

    • build

      public static BaseAssemblyNodeFactory 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 evaluate
      streamsJoinedPerStream - - 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 event
      isRequiredPerStream - - indicates which streams are required join streams versus optional streams
      Returns:
      root assembly node