public class HistoricalIndexLookupStrategySorted extends Object implements HistoricalIndexLookupStrategy
Constructor and Description |
---|
HistoricalIndexLookupStrategySorted(int lookupStream,
QueryGraphValueEntryRange property) |
Modifier and Type | Method and Description |
---|---|
Iterator<EventBean> |
lookup(EventBean lookupEvent,
EventTable[] indexTable,
ExprEvaluatorContext context)
Look up into the index, potentially using some of the properties in the lookup event,
returning a partial or full result in respect to the index.
|
String |
toQueryPlan() |
public HistoricalIndexLookupStrategySorted(int lookupStream, QueryGraphValueEntryRange property)
public Iterator<EventBean> lookup(EventBean lookupEvent, EventTable[] indexTable, ExprEvaluatorContext context)
HistoricalIndexLookupStrategy
lookup
in interface HistoricalIndexLookupStrategy
lookupEvent
- provides properties to use as key values for indexesindexTable
- is the table providing the cache result set, potentially indexed by index fieldscontext
- contextpublic String toQueryPlan()
toQueryPlan
in interface HistoricalIndexLookupStrategy