com.espertech.esper.epl.lookup
Class SubordSortedTableLookupStrategy
java.lang.Object
com.espertech.esper.epl.lookup.SubordSortedTableLookupStrategy
- All Implemented Interfaces:
- SubordTableLookupStrategy
public class SubordSortedTableLookupStrategy
- extends java.lang.Object
- implements SubordTableLookupStrategy
Index lookup strategy for subqueries.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
strategy
protected final SortedAccessStrategy strategy
index
protected final PropertySortedEventTable index
- Index to look up in.
SubordSortedTableLookupStrategy
public SubordSortedTableLookupStrategy(SortedAccessStrategy strategy,
PropertySortedEventTable index,
LookupStrategyDesc strategyDesc)
lookup
public java.util.Collection<EventBean> lookup(EventBean[] eventsPerStream,
ExprEvaluatorContext context)
- Description copied from interface:
SubordTableLookupStrategy
- Returns matched events for a set of events to look up for. Never returns an empty result set,
always returns null to indicate no results.
- Specified by:
lookup
in interface SubordTableLookupStrategy
- Parameters:
eventsPerStream
- to look up
- Returns:
- set of matching events, or null if none matching
toQueryPlan
public java.lang.String toQueryPlan()
- Specified by:
toQueryPlan
in interface SubordTableLookupStrategy
getStrategyDesc
public LookupStrategyDesc getStrategyDesc()
- Specified by:
getStrategyDesc
in interface SubordTableLookupStrategy