public class TableLookupNode extends QueryPlanNode
Constructor and Description |
---|
TableLookupNode(TableLookupPlan tableLookupPlan)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addIndexes(java.util.HashSet<TableLookupIndexReqKey> usedIndexes) |
protected TableLookupPlan |
getLookupStrategySpec()
Returns lookup plan.
|
TableLookupPlan |
getTableLookupPlan() |
ExecNode |
makeExec(java.lang.String statementName,
int statementId,
java.lang.annotation.Annotation[] annotations,
java.util.Map<TableLookupIndexReqKey,EventTable>[] indexesPerStream,
EventType[] streamTypes,
Viewable[] streamViews,
HistoricalStreamIndexList[] historicalStreamIndexLists,
VirtualDWView[] viewExternal,
java.util.concurrent.locks.Lock[] tableSecondaryIndexLocks)
Make execution node from this specification.
|
void |
print(IndentWriter writer)
Print a long readable format of the query node to the supplied PrintWriter.
|
print
public TableLookupNode(TableLookupPlan tableLookupPlan)
tableLookupPlan
- - plan for performing lookuppublic TableLookupPlan getTableLookupPlan()
protected TableLookupPlan getLookupStrategySpec()
public void print(IndentWriter writer)
QueryPlanNode
print
in class QueryPlanNode
writer
- is the indentation writer to print topublic ExecNode makeExec(java.lang.String statementName, int statementId, java.lang.annotation.Annotation[] annotations, java.util.Map<TableLookupIndexReqKey,EventTable>[] indexesPerStream, EventType[] streamTypes, Viewable[] streamViews, HistoricalStreamIndexList[] historicalStreamIndexLists, VirtualDWView[] viewExternal, java.util.concurrent.locks.Lock[] tableSecondaryIndexLocks)
QueryPlanNode
makeExec
in class QueryPlanNode
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 void addIndexes(java.util.HashSet<TableLookupIndexReqKey> usedIndexes)
addIndexes
in class QueryPlanNode