net.esper.eql.join.plan
Class QueryPlanBuilder

java.lang.Object
  extended by net.esper.eql.join.plan.QueryPlanBuilder

public class QueryPlanBuilder
extends java.lang.Object

Build a query plan based on filtering information.


Constructor Summary
QueryPlanBuilder()
           
 
Method Summary
static QueryPlan getPlan(int numStreams, java.util.List<OuterJoinDesc> outerJoinDescList, ExprNode optionalFilterNode, java.lang.String[] streamNames)
          Build query plan using the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryPlanBuilder

public QueryPlanBuilder()
Method Detail

getPlan

public static QueryPlan getPlan(int numStreams,
                                java.util.List<OuterJoinDesc> outerJoinDescList,
                                ExprNode optionalFilterNode,
                                java.lang.String[] streamNames)
Build query plan using the filter.

Parameters:
numStreams - - number of streams
outerJoinDescList - - list of outer join criteria, or null if there are no outer joins
optionalFilterNode - - filter tree
streamNames - - names of streams
Returns:
query plan