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

java.lang.Object
  extended by com.espertech.esper.epl.join.plan.QueryPlanNode
      extended by com.espertech.esper.epl.join.plan.NestedIterationNode

public class NestedIterationNode
extends QueryPlanNode

Plan to perform a nested iteration over child nodes.


Constructor Summary
NestedIterationNode(int[] nestingOrder)
          Ctor.
 
Method Summary
 void addChildNode(QueryPlanNode childNode)
          Adds a child node.
 void addIndexes(java.util.HashSet<TableLookupIndexReqKey> usedIndexes)
           
protected  java.util.LinkedList<QueryPlanNode> getChildNodes()
          Returns list of child nodes.
 ExecNode makeExec(java.lang.String statementName, java.lang.String statementId, java.lang.annotation.Annotation[] annotations, java.util.Map<TableLookupIndexReqKey,EventTable>[] indexPerStream, EventType[] streamTypes, Viewable[] streamViews, HistoricalStreamIndexList[] historicalStreamIndexList, VirtualDWView[] viewExternal, java.util.concurrent.locks.Lock[] tableSecondaryIndexLocks)
          Make execution node from this specification.
 void print(IndentWriter indentWriter)
          Print a long readable format of the query node to the supplied PrintWriter.
 
Methods inherited from class com.espertech.esper.epl.join.plan.QueryPlanNode
print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedIterationNode

public NestedIterationNode(int[] nestingOrder)
Ctor.

Parameters:
nestingOrder - - order of streams in nested iteration
Method Detail

addChildNode

public final void addChildNode(QueryPlanNode childNode)
Adds a child node.

Parameters:
childNode - is the child evaluation tree node to add

getChildNodes

protected final java.util.LinkedList<QueryPlanNode> getChildNodes()
Returns list of child nodes.

Returns:
list of child nodes

makeExec

public ExecNode makeExec(java.lang.String statementName,
                         java.lang.String statementId,
                         java.lang.annotation.Annotation[] annotations,
                         java.util.Map<TableLookupIndexReqKey,EventTable>[] indexPerStream,
                         EventType[] streamTypes,
                         Viewable[] streamViews,
                         HistoricalStreamIndexList[] historicalStreamIndexList,
                         VirtualDWView[] viewExternal,
                         java.util.concurrent.locks.Lock[] tableSecondaryIndexLocks)
Description copied from class: QueryPlanNode
Make execution node from this specification.

Specified by:
makeExec in class QueryPlanNode
Parameters:
statementName - statement name
statementId - statement id
annotations - annotations
indexPerStream - - tables build for each stream
streamTypes - - event type of each stream
streamViews - - viewable per stream for access to historical data
historicalStreamIndexList - index management for historical streams
viewExternal - @return execution node matching spec

addIndexes

public void addIndexes(java.util.HashSet<TableLookupIndexReqKey> usedIndexes)
Specified by:
addIndexes in class QueryPlanNode

print

public void print(IndentWriter indentWriter)
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:
indentWriter - is the indentation writer to print to

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