public class HistoricalIndexLookupStrategyComposite extends java.lang.Object implements HistoricalIndexLookupStrategy
Constructor and Description |
---|
HistoricalIndexLookupStrategyComposite(int lookupStream,
java.util.List<QueryGraphValueEntryHashKeyed> hashKeys,
java.lang.Class[] keyCoercionTypes,
java.util.List<QueryGraphValueEntryRange> rangeKeyPairs,
java.lang.Class[] rangeCoercionTypes) |
Modifier and Type | Method and Description |
---|---|
java.util.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.
|
java.lang.String |
toQueryPlan() |
public HistoricalIndexLookupStrategyComposite(int lookupStream, java.util.List<QueryGraphValueEntryHashKeyed> hashKeys, java.lang.Class[] keyCoercionTypes, java.util.List<QueryGraphValueEntryRange> rangeKeyPairs, java.lang.Class[] rangeCoercionTypes)
public java.util.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 java.lang.String toQueryPlan()
toQueryPlan
in interface HistoricalIndexLookupStrategy