Class HistoricalDataPlanNodeForge
java.lang.Object
com.espertech.esper.common.internal.epl.join.queryplan.QueryPlanNodeForge
com.espertech.esper.common.internal.epl.join.queryplan.HistoricalDataPlanNodeForge
- All Implemented Interfaces:
CodegenMakeable<SAIFFInitializeSymbol>
Query plan for performing a historical data lookup.
Translates into a particular execution for use in regular and outer joins.
-
Constructor Summary
ConstructorDescriptionHistoricalDataPlanNodeForge
(int streamNum, int rootStreamNum, int lookupStreamNum, int numStreams, ExprForge outerJoinExprEval) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(QueryPlanNodeForgeVisitor visitor) void
addIndexes
(HashSet<TableLookupIndexReqKey> usedIndexes) int
int
int
int
make
(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) protected void
print
(IndentWriter writer) Print a long readable format of the query node to the supplied PrintWriter.void
setHistoricalIndexLookupStrategy
(HistoricalIndexLookupStrategyForge historicalIndexLookupStrategy) void
setPollResultIndexingStrategy
(PollResultIndexingStrategyForge pollResultIndexingStrategy) Methods inherited from class com.espertech.esper.common.internal.epl.join.queryplan.QueryPlanNodeForge
print
-
Constructor Details
-
HistoricalDataPlanNodeForge
public HistoricalDataPlanNodeForge(int streamNum, int rootStreamNum, int lookupStreamNum, int numStreams, ExprForge outerJoinExprEval) Ctor.- Parameters:
streamNum
- the historical stream numrootStreamNum
- the stream number of the query plan providing incoming eventslookupStreamNum
- the stream that provides polling/lookup eventsnumStreams
- number of streams in joinouterJoinExprEval
- outer join expression node or null if none defined
-
-
Method Details
-
addIndexes
- Specified by:
addIndexes
in classQueryPlanNodeForge
-
make
public CodegenExpression make(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) -
setPollResultIndexingStrategy
public void setPollResultIndexingStrategy(PollResultIndexingStrategyForge pollResultIndexingStrategy) -
setHistoricalIndexLookupStrategy
public void setHistoricalIndexLookupStrategy(HistoricalIndexLookupStrategyForge historicalIndexLookupStrategy) -
print
Description copied from class:QueryPlanNodeForge
Print a long readable format of the query node to the supplied PrintWriter.- Specified by:
print
in classQueryPlanNodeForge
- Parameters:
writer
- is the indentation writer to print to
-
getStreamNum
public int getStreamNum() -
getRootStreamNum
public int getRootStreamNum() -
getLookupStreamNum
public int getLookupStreamNum() -
getNumStreams
public int getNumStreams() -
accept
- Specified by:
accept
in classQueryPlanNodeForge
-