public class SubordSortedTableLookupStrategy extends java.lang.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() |
java.util.Collection<EventBean> |
lookup(EventBean[] eventsPerStream,
ExprEvaluatorContext context)
Returns matched events for a set of events to look up for.
|
java.lang.String |
toQueryPlan() |
protected final SortedAccessStrategy strategy
protected final PropertySortedEventTable index
public SubordSortedTableLookupStrategy(SortedAccessStrategy strategy, PropertySortedEventTable index, LookupStrategyDesc strategyDesc)
public java.util.Collection<EventBean> lookup(EventBean[] eventsPerStream, ExprEvaluatorContext context)
SubordTableLookupStrategy
lookup
in interface SubordTableLookupStrategy
eventsPerStream
- to look upcontext
- contextpublic java.lang.String toQueryPlan()
toQueryPlan
in interface SubordTableLookupStrategy
public LookupStrategyDesc getStrategyDesc()
getStrategyDesc
in interface SubordTableLookupStrategy