public class LookupInstructionQueryPlanNode extends QueryPlanNode
Constructor and Description |
---|
LookupInstructionQueryPlanNode(int rootStream,
java.lang.String rootStreamName,
int numStreams,
boolean[] requiredPerStream,
java.util.List<LookupInstructionPlan> lookupInstructions,
java.util.List<BaseAssemblyNode> assemblyInstructions)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addIndexes(java.util.HashSet<java.lang.String> usedIndexes) |
java.util.List<BaseAssemblyNode> |
getAssemblyInstructions() |
java.util.List<LookupInstructionPlan> |
getLookupInstructions() |
int |
getNumStreams() |
boolean[] |
getRequiredPerStream() |
int |
getRootStream() |
java.lang.String |
getRootStreamName() |
ExecNode |
makeExec(java.lang.String statementName,
java.lang.String statementId,
java.lang.annotation.Annotation[] annotations,
java.util.Map<java.lang.String,EventTable>[] indexesPerStream,
EventType[] streamTypes,
Viewable[] streamViews,
HistoricalStreamIndexList[] historicalStreamIndexLists,
VirtualDWView[] viewExternal)
Make execution node from this specification.
|
print
public LookupInstructionQueryPlanNode(int rootStream, java.lang.String rootStreamName, int numStreams, boolean[] requiredPerStream, java.util.List<LookupInstructionPlan> lookupInstructions, java.util.List<BaseAssemblyNode> assemblyInstructions)
rootStream
- is the stream supplying the lookup eventrootStreamName
- is the name of the stream supplying the lookup eventnumStreams
- is the number of streamslookupInstructions
- is a list of lookups to performrequiredPerStream
- indicates which streams are required and which are optional in the lookupassemblyInstructions
- is the bottom-up assembly nodes to assemble a lookup result nodespublic ExecNode makeExec(java.lang.String statementName, java.lang.String statementId, java.lang.annotation.Annotation[] annotations, java.util.Map<java.lang.String,EventTable>[] indexesPerStream, EventType[] streamTypes, Viewable[] streamViews, HistoricalStreamIndexList[] historicalStreamIndexLists, VirtualDWView[] viewExternal)
QueryPlanNode
makeExec
in class QueryPlanNode
indexesPerStream
- - tables build for each streamstreamTypes
- - event type of each streamstreamViews
- - viewable per stream for access to historical datahistoricalStreamIndexLists
- index management for historical streamsviewExternal
- @return execution node matching specpublic void addIndexes(java.util.HashSet<java.lang.String> usedIndexes)
addIndexes
in class QueryPlanNode
public int getRootStream()
public java.lang.String getRootStreamName()
public int getNumStreams()
public java.util.List<LookupInstructionPlan> getLookupInstructions()
public boolean[] getRequiredPerStream()
public java.util.List<BaseAssemblyNode> getAssemblyInstructions()