Class LookupInstructionPlanForge
java.lang.Object
com.espertech.esper.common.internal.epl.join.queryplanouter.LookupInstructionPlanForge
- All Implemented Interfaces:
CodegenMakeable<SAIFFInitializeSymbol>
public class LookupInstructionPlanForge
extends Object
implements CodegenMakeable<SAIFFInitializeSymbol>
Plan for lookup using a from-stream event looking up one or more to-streams using a specified lookup plan for each
to-stream.
-
Constructor Summary
ConstructorDescriptionLookupInstructionPlanForge
(int fromStream, String fromStreamName, int[] toStreams, TableLookupPlanForge[] lookupPlans, HistoricalDataPlanNodeForge[] historicalPlans, boolean[] requiredPerStream) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIndexes
(HashSet<TableLookupIndexReqKey> usedIndexes) int
boolean[]
int[]
make
(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) void
print
(IndentWriter writer) Output the planned instruction.
-
Constructor Details
-
LookupInstructionPlanForge
public LookupInstructionPlanForge(int fromStream, String fromStreamName, int[] toStreams, TableLookupPlanForge[] lookupPlans, HistoricalDataPlanNodeForge[] historicalPlans, boolean[] requiredPerStream) Ctor.- Parameters:
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 streams
-
-
Method Details
-
print
Output the planned instruction.- Parameters:
writer
- to output to
-
addIndexes
-
make
public CodegenExpression make(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) - Specified by:
make
in interfaceCodegenMakeable<SAIFFInitializeSymbol>
-
getFromStream
public int getFromStream() -
getFromStreamName
-
getToStreams
public int[] getToStreams() -
getLookupPlans
-
getRequiredPerStream
public boolean[] getRequiredPerStream() -
getHistoricalPlans
-