com.espertech.esper.epl.join.plan
Class TableLookupNode

java.lang.Object
  extended by com.espertech.esper.epl.join.plan.QueryPlanNode
      extended by com.espertech.esper.epl.join.plan.TableLookupNode

public class TableLookupNode
extends QueryPlanNode

Specifies exection of a table lookup using the supplied plan for performing the lookup.


Constructor Summary
TableLookupNode(TableLookupPlan tableLookupPlan)
          Ctor.
 
Method Summary
 void addIndexes(java.util.HashSet<TableLookupIndexReqKey> usedIndexes)
           
protected  TableLookupPlan getLookupStrategySpec()
          Returns lookup plan.
 TableLookupPlan getTableLookupPlan()
           
 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.
 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

TableLookupNode

public TableLookupNode(TableLookupPlan tableLookupPlan)
Ctor.

Parameters:
tableLookupPlan - - plan for performing lookup
Method Detail

getTableLookupPlan

public TableLookupPlan getTableLookupPlan()

getLookupStrategySpec

protected TableLookupPlan getLookupStrategySpec()
Returns lookup plan.

Returns:
lookup plan

print

public void print(IndentWriter writer)
Description copied from class: QueryPlanNode
Print a long readable format of the query node to the supplied PrintWriter.

Specified by:
print in class QueryPlanNode
Parameters:
writer - is the indentation writer to print to

makeExec

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)
Description copied from class: QueryPlanNode
Make execution node from this specification.

Specified by:
makeExec in class QueryPlanNode
Parameters:
statementName - statement name
statementId - statement id
annotations - annotations
indexesPerStream - - tables build for each stream
streamTypes - - event type of each stream
streamViews - - viewable per stream for access to historical data
historicalStreamIndexLists - index management for historical streams
viewExternal - @return execution node matching spec

addIndexes

public void addIndexes(java.util.HashSet<TableLookupIndexReqKey> usedIndexes)
Specified by:
addIndexes in class QueryPlanNode

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com