net.esper.eql.join.assemble
Class AssemblyStrategyTreeBuilder

java.lang.Object
  extended by net.esper.eql.join.assemble.AssemblyStrategyTreeBuilder

public class AssemblyStrategyTreeBuilder
extends Object

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


Constructor Summary
AssemblyStrategyTreeBuilder()
           
 
Method Summary
static BaseAssemblyNode build(int rootStream, Map<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 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 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

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com