Class TableLookupPlanForge
java.lang.Object
com.espertech.esper.common.internal.epl.join.queryplan.TableLookupPlanForge
- All Implemented Interfaces:
CodegenMakeable<SAIFFInitializeSymbol>
- Direct Known Subclasses:
CompositeTableLookupPlanForge
,FullTableScanLookupPlanForge
,FullTableScanUniquePerKeyLookupPlanForge
,IndexedTableLookupPlanHashedOnlyForge
,InKeywordTableLookupPlanMultiIdxForge
,InKeywordTableLookupPlanSingleIdxForge
,SortedTableLookupPlanForge
public abstract class TableLookupPlanForge
extends Object
implements CodegenMakeable<SAIFFInitializeSymbol>
Abstract specification on how to perform a table lookup.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final int
protected boolean
protected final int
protected EventType[]
-
Constructor Summary
ModifierConstructorDescriptionprotected
TableLookupPlanForge
(int lookupStream, int indexedStream, boolean indexedStreamIsVDW, EventType[] typesPerStream, TableLookupIndexReqKey[] indexNum) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionabstract Collection<CodegenExpression>
additionalParams
(CodegenMethod method, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) int
Returns indexed stream.Returns index number to use for looking up in.abstract TableLookupKeyDesc
int
Returns the lookup stream.make
(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) toString()
abstract EPTypeClass
-
Field Details
-
lookupStream
protected final int lookupStream -
indexedStream
protected final int indexedStream -
indexedStreamIsVDW
protected boolean indexedStreamIsVDW -
typesPerStream
-
-
Constructor Details
-
TableLookupPlanForge
protected TableLookupPlanForge(int lookupStream, int indexedStream, boolean indexedStreamIsVDW, EventType[] typesPerStream, TableLookupIndexReqKey[] indexNum) Ctor.- Parameters:
lookupStream
- - stream number of stream that supplies event to be used to look upindexedStream
- - - stream number of stream that is being access via index/tableindexedStreamIsVDW
- - vdw indicatorstypesPerStream
- typesindexNum
- - index to use for lookup
-
-
Method Details
-
getKeyDescriptor
-
typeOfPlanFactory
-
additionalParams
public abstract Collection<CodegenExpression> additionalParams(CodegenMethod method, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) -
getLookupStream
public int getLookupStream()Returns the lookup stream.- Returns:
- lookup stream
-
getIndexedStream
public int getIndexedStream()Returns indexed stream.- Returns:
- indexed stream
-
getIndexNum
Returns index number to use for looking up in.- Returns:
- index number
-
toString
-
make
public CodegenExpression make(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) - Specified by:
make
in interfaceCodegenMakeable<SAIFFInitializeSymbol>
-