com.espertech.esper.epl.join.plan
Class QueryPlanNode

java.lang.Object
  extended by com.espertech.esper.epl.join.plan.QueryPlanNode
Direct Known Subclasses:
LookupInstructionQueryPlanNode, NestedIterationNode, TableLookupNode, TableOuterLookupNode

public abstract class QueryPlanNode
extends Object

Specification node for a query execution plan to be extended by specific execution specification nodes.


Constructor Summary
QueryPlanNode()
           
 
Method Summary
abstract  ExecNode makeExec(EventTable[][] indexesPerStream, EventType[] streamTypes)
          Make execution node from this specification.
protected abstract  void print(IndentWriter writer)
          Print a long readable format of the query node to the supplied PrintWriter.
static String print(QueryPlanNode[] execNodeSpecs)
          Print in readable format the execution plan spec.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryPlanNode

public QueryPlanNode()
Method Detail

makeExec

public abstract ExecNode makeExec(EventTable[][] indexesPerStream,
                                  EventType[] streamTypes)
Make execution node from this specification.

Parameters:
indexesPerStream - - tables build for each stream
streamTypes - - event type of each stream
Returns:
execution node matching spec

print

protected abstract void print(IndentWriter writer)
Print a long readable format of the query node to the supplied PrintWriter.

Parameters:
writer - is the indentation writer to print to

print

public static String print(QueryPlanNode[] execNodeSpecs)
Print in readable format the execution plan spec.

Parameters:
execNodeSpecs - - plans to print
Returns:
readable text with plans

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