public abstract class QueryPlanNode extends Object
Constructor and Description |
---|
QueryPlanNode() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addIndexes(HashSet<TableLookupIndexReqKey> usedIndexes) |
abstract ExecNode |
makeExec(String statementName,
int statementId,
Annotation[] annotations,
Map<TableLookupIndexReqKey,EventTable>[] indexesPerStream,
EventType[] streamTypes,
Viewable[] streamViews,
HistoricalStreamIndexList[] historicalStreamIndexLists,
VirtualDWView[] viewExternal,
Lock[] tableSecondaryIndexLocks)
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[] planNodeSpecs)
Print in readable format the execution plan spec.
|
public abstract ExecNode makeExec(String statementName, int statementId, Annotation[] annotations, Map<TableLookupIndexReqKey,EventTable>[] indexesPerStream, EventType[] streamTypes, Viewable[] streamViews, HistoricalStreamIndexList[] historicalStreamIndexLists, VirtualDWView[] viewExternal, Lock[] tableSecondaryIndexLocks)
statementName
- statement namestatementId
- statement idannotations
- annotationsindexesPerStream
- - tables build for each streamstreamTypes
- - event type of each streamstreamViews
- - viewable per stream for access to historical datahistoricalStreamIndexLists
- index management for historical streamsviewExternal
- viewtableSecondaryIndexLocks
- lockspublic abstract void addIndexes(HashSet<TableLookupIndexReqKey> usedIndexes)
protected abstract void print(IndentWriter writer)
writer
- is the indentation writer to print topublic static String print(QueryPlanNode[] planNodeSpecs)
planNodeSpecs
- - plans to print