com.espertech.esper.epl.join.assemble
Class AssemblyStrategyTreeBuilder

java.lang.Object
  extended by com.espertech.esper.epl.join.assemble.AssemblyStrategyTreeBuilder

public class AssemblyStrategyTreeBuilder
extends java.lang.Object

Builds a tree of assembly nodes given a strategy for how to join streams.


Constructor Summary
AssemblyStrategyTreeBuilder()
           
 
Method Summary
static BaseAssemblyNodeFactory build(int rootStream, java.util.Map<java.lang.Integer,int[]> streamsJoinedPerStream, boolean[] isRequiredPerStream)
          Builds a tree of BaseAssemblyNode from join strategy information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssemblyStrategyTreeBuilder

public AssemblyStrategyTreeBuilder()
Method Detail

build

public static BaseAssemblyNodeFactory build(int rootStream,
                                            java.util.Map<java.lang.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

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com