|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.join.plan.QueryPlanNode
com.espertech.esper.epl.join.plan.HistoricalDataPlanNode
public class HistoricalDataPlanNode
Query plan for performing a historical data lookup.
Translates into a particular execution for use in regular and outer joins.
Constructor Summary | |
---|---|
HistoricalDataPlanNode(int streamNum,
int rootStreamNum,
int lookupStreamNum,
int numStreams,
ExprNode exprNode)
Ctor. |
Method Summary | |
---|---|
void |
addIndexes(java.util.HashSet<TableLookupIndexReqKey> usedIndexes)
|
ExecNode |
makeExec(java.lang.String statementName,
java.lang.String statementId,
java.lang.annotation.Annotation[] annotations,
java.util.Map<TableLookupIndexReqKey,EventTable>[] indexesPerStream,
EventType[] streamTypes,
Viewable[] streamViews,
HistoricalStreamIndexList[] historicalStreamIndexLists,
VirtualDWView[] viewExternal,
java.util.concurrent.locks.Lock[] tableSecondaryIndexLocks)
Make execution node from this specification. |
HistoricalTableLookupStrategy |
makeOuterJoinStategy(Viewable[] streamViews,
int pollingStreamNum,
HistoricalStreamIndexList[] historicalStreamIndexLists)
Returns the table lookup strategy for use in outer joins. |
protected void |
print(IndentWriter writer)
Print a long readable format of the query node to the supplied PrintWriter. |
Methods inherited from class com.espertech.esper.epl.join.plan.QueryPlanNode |
---|
print |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HistoricalDataPlanNode(int streamNum, int rootStreamNum, int lookupStreamNum, int numStreams, ExprNode exprNode)
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 joinexprNode
- outer join expression node or null if none definedMethod Detail |
---|
public ExecNode makeExec(java.lang.String statementName, java.lang.String statementId, java.lang.annotation.Annotation[] annotations, java.util.Map<TableLookupIndexReqKey,EventTable>[] indexesPerStream, EventType[] streamTypes, Viewable[] streamViews, HistoricalStreamIndexList[] historicalStreamIndexLists, VirtualDWView[] viewExternal, java.util.concurrent.locks.Lock[] tableSecondaryIndexLocks)
QueryPlanNode
makeExec
in class QueryPlanNode
statementName
- statement namestatementId
- statement idannotations
- annotationsindexesPerStream
- - 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<TableLookupIndexReqKey> usedIndexes)
addIndexes
in class QueryPlanNode
public HistoricalTableLookupStrategy makeOuterJoinStategy(Viewable[] streamViews, int pollingStreamNum, HistoricalStreamIndexList[] historicalStreamIndexLists)
streamViews
- all views in joinpollingStreamNum
- the stream number of the stream looking up into the historicalhistoricalStreamIndexLists
- the index management for the historical stream
protected void print(IndentWriter writer)
QueryPlanNode
print
in class QueryPlanNode
writer
- is the indentation writer to print to
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |