net.esper.eql.join.plan
Class IndexedTableLookupPlan
java.lang.Object
net.esper.eql.join.plan.TableLookupPlan
net.esper.eql.join.plan.IndexedTableLookupPlan
public class IndexedTableLookupPlan
- extends TableLookupPlan
Plan to perform an indexed table lookup.
IndexedTableLookupPlan
public IndexedTableLookupPlan(int lookupStream,
int indexedStream,
int indexNum,
String[] keyProperties)
- Ctor.
- Parameters:
lookupStream
- - stream that generates event to look up forindexedStream
- - stream to index table lookupindexNum
- - index number for the table containing the full unindexed contentskeyProperties
- - properties to use in lookup event to access index
getKeyProperties
protected String[] getKeyProperties()
- Returns property names to use for lookup in index.
- Returns:
- property names.
makeStrategy
public TableLookupStrategy makeStrategy(EventTable[][] indexesPerStream,
EventType[] eventTypes)
- Description copied from class:
TableLookupPlan
- Instantiates the lookup plan into a execution strategy for the lookup.
- Specified by:
makeStrategy
in class TableLookupPlan
- Parameters:
indexesPerStream
- - tables for each streameventTypes
- - types of events in stream
- Returns:
- lookup strategy instance
toString
public String toString()
- Overrides:
toString
in class TableLookupPlan