net.esper.eql.join.plan
Class LookupInstructionQueryPlanNode

java.lang.Object
  extended by net.esper.eql.join.plan.QueryPlanNode
      extended by net.esper.eql.join.plan.LookupInstructionQueryPlanNode

public class LookupInstructionQueryPlanNode
extends QueryPlanNode

Query plan for executing a set of lookup instructions and assembling an end result via a set of assembly instructions.


Constructor Summary
LookupInstructionQueryPlanNode(int rootStream, String rootStreamName, int numStreams, boolean[] requiredPerStream, List<LookupInstructionPlan> lookupInstructions, List<BaseAssemblyNode> assemblyInstructions)
          Ctor.
 
Method Summary
 ExecNode makeExec(EventTable[][] indexesPerStream, EventType[] streamTypes)
          Make execution node from this specification.
protected  void print(IndentWriter writer)
          Print a long readable format of the query node to the supplied PrintWriter.
 
Methods inherited from class net.esper.eql.join.plan.QueryPlanNode
print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupInstructionQueryPlanNode

public LookupInstructionQueryPlanNode(int rootStream,
                                      String rootStreamName,
                                      int numStreams,
                                      boolean[] requiredPerStream,
                                      List<LookupInstructionPlan> lookupInstructions,
                                      List<BaseAssemblyNode> assemblyInstructions)
Ctor.

Parameters:
rootStream - is the stream supplying the lookup event
rootStreamName - is the name of the stream supplying the lookup event
numStreams - is the number of streams
lookupInstructions - is a list of lookups to perform
requiredPerStream - indicates which streams are required and which are optional in the lookup
assemblyInstructions - is the bottom-up assembly nodes to assemble a lookup result nodes
Method Detail

makeExec

public ExecNode makeExec(EventTable[][] indexesPerStream,
                         EventType[] streamTypes)
Description copied from class: QueryPlanNode
Make execution node from this specification.

Specified by:
makeExec in class QueryPlanNode
Parameters:
indexesPerStream - - tables build for each stream
streamTypes - - event type of each stream
Returns:
execution node matching spec

print

protected void print(IndentWriter writer)
Description copied from class: QueryPlanNode
Print a long readable format of the query node to the supplied PrintWriter.

Specified by:
print in class QueryPlanNode
Parameters:
writer - is the indentation writer to print to