public class NestedIterationNode extends QueryPlanNode
Constructor and Description |
---|
NestedIterationNode(int[] nestingOrder)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addChildNode(QueryPlanNode childNode)
Adds a child node.
|
void |
addIndexes(java.util.HashSet<java.lang.String> usedIndexes) |
ExecNode |
makeExec(java.lang.String statementName,
java.lang.String statementId,
java.lang.annotation.Annotation[] annotations,
java.util.Map<java.lang.String,EventTable>[] indexPerStream,
EventType[] streamTypes,
Viewable[] streamViews,
HistoricalStreamIndexList[] historicalStreamIndexList,
VirtualDWView[] viewExternal)
Make execution node from this specification.
|
void |
print(IndentWriter indentWriter)
Print a long readable format of the query node to the supplied PrintWriter.
|
print
public NestedIterationNode(int[] nestingOrder)
nestingOrder
- - order of streams in nested iterationpublic final void addChildNode(QueryPlanNode childNode)
childNode
- is the child evaluation tree node to addpublic ExecNode makeExec(java.lang.String statementName, java.lang.String statementId, java.lang.annotation.Annotation[] annotations, java.util.Map<java.lang.String,EventTable>[] indexPerStream, EventType[] streamTypes, Viewable[] streamViews, HistoricalStreamIndexList[] historicalStreamIndexList, VirtualDWView[] viewExternal)
QueryPlanNode
makeExec
in class QueryPlanNode
indexPerStream
- - tables build for each streamstreamTypes
- - event type of each streamstreamViews
- - viewable per stream for access to historical datahistoricalStreamIndexList
- index management for historical streamsviewExternal
- @return execution node matching specpublic void addIndexes(java.util.HashSet<java.lang.String> usedIndexes)
addIndexes
in class QueryPlanNode
public void print(IndentWriter indentWriter)
QueryPlanNode
indentWriter
- is the indentation writer to print to