public class LookupInstructionPlanForge extends Object implements CodegenMakeable<SAIFFInitializeSymbol>
Constructor and Description |
---|
LookupInstructionPlanForge(int fromStream,
String fromStreamName,
int[] toStreams,
TableLookupPlanForge[] lookupPlans,
HistoricalDataPlanNodeForge[] historicalPlans,
boolean[] requiredPerStream)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addIndexes(HashSet<TableLookupIndexReqKey> usedIndexes) |
int |
getFromStream() |
String |
getFromStreamName() |
HistoricalDataPlanNodeForge[] |
getHistoricalPlans() |
TableLookupPlanForge[] |
getLookupPlans() |
boolean[] |
getRequiredPerStream() |
int[] |
getToStreams() |
CodegenExpression |
make(CodegenMethodScope parent,
SAIFFInitializeSymbol symbols,
CodegenClassScope classScope) |
void |
print(IndentWriter writer)
Output the planned instruction.
|
public LookupInstructionPlanForge(int fromStream, String fromStreamName, int[] toStreams, TableLookupPlanForge[] lookupPlans, HistoricalDataPlanNodeForge[] historicalPlans, boolean[] requiredPerStream)
fromStream
- - the stream supplying the lookup eventfromStreamName
- - the stream name supplying the lookup eventtoStreams
- - the set of streams to look up inlookupPlans
- - the plan to use for each stream to look up inrequiredPerStream
- - indicates which of the lookup streams are required to build a result and which are nothistoricalPlans
- - plans for use with historical streamspublic void print(IndentWriter writer)
writer
- to output topublic void addIndexes(HashSet<TableLookupIndexReqKey> usedIndexes)
public CodegenExpression make(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope)
make
in interface CodegenMakeable<SAIFFInitializeSymbol>
public int getFromStream()
public String getFromStreamName()
public int[] getToStreams()
public TableLookupPlanForge[] getLookupPlans()
public boolean[] getRequiredPerStream()
public HistoricalDataPlanNodeForge[] getHistoricalPlans()
Copyright © 2005–2018. All rights reserved.