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(HashSet<TableLookupIndexReqKey> usedIndexes) |
protected LinkedList<QueryPlanNode> |
getChildNodes()
Returns list of child nodes.
|
ExecNode |
makeExec(String statementName,
int statementId,
Annotation[] annotations,
Map<TableLookupIndexReqKey,EventTable>[] indexPerStream,
EventType[] streamTypes,
Viewable[] streamViews,
HistoricalStreamIndexList[] historicalStreamIndexList,
VirtualDWView[] viewExternal,
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.
|
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 addprotected final LinkedList<QueryPlanNode> getChildNodes()
public ExecNode makeExec(String statementName, int statementId, Annotation[] annotations, Map<TableLookupIndexReqKey,EventTable>[] indexPerStream, EventType[] streamTypes, Viewable[] streamViews, HistoricalStreamIndexList[] historicalStreamIndexList, VirtualDWView[] viewExternal, Lock[] tableSecondaryIndexLocks)
QueryPlanNode
makeExec
in class QueryPlanNode
statementName
- statement namestatementId
- statement idannotations
- annotationsindexPerStream
- - tables build for each streamstreamTypes
- - event type of each streamstreamViews
- - viewable per stream for access to historical datahistoricalStreamIndexList
- index management for historical streamsviewExternal
- viewtableSecondaryIndexLocks
- lockspublic void addIndexes(HashSet<TableLookupIndexReqKey> usedIndexes)
addIndexes
in class QueryPlanNode
public void print(IndentWriter indentWriter)
QueryPlanNode
print
in class QueryPlanNode
indentWriter
- is the indentation writer to print to