public class SubordSortedTableLookupStrategy extends Object implements SubordTableLookupStrategy
Modifier and Type | Field and Description |
---|---|
protected PropertySortedEventTable |
index
Index to look up in.
|
protected SortedAccessStrategy |
strategy |
Constructor and Description |
---|
SubordSortedTableLookupStrategy(SortedAccessStrategy strategy,
PropertySortedEventTable index,
LookupStrategyDesc strategyDesc) |
Modifier and Type | Method and Description |
---|---|
LookupStrategyDesc |
getStrategyDesc() |
Collection<EventBean> |
lookup(EventBean[] eventsPerStream,
ExprEvaluatorContext context)
Returns matched events for a set of events to look up for.
|
String |
toQueryPlan() |
protected final SortedAccessStrategy strategy
protected final PropertySortedEventTable index
public SubordSortedTableLookupStrategy(SortedAccessStrategy strategy, PropertySortedEventTable index, LookupStrategyDesc strategyDesc)
public Collection<EventBean> lookup(EventBean[] eventsPerStream, ExprEvaluatorContext context)
SubordTableLookupStrategy
lookup
in interface SubordTableLookupStrategy
eventsPerStream
- to look upcontext
- contextpublic String toQueryPlan()
toQueryPlan
in interface SubordTableLookupStrategy
public LookupStrategyDesc getStrategyDesc()
getStrategyDesc
in interface SubordTableLookupStrategy