|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.join.exec.base.SortedTableLookupStrategy
public class SortedTableLookupStrategy
Lookup on an index that is a sorted index on a single property queried as a range.
Use the composite strategy if supporting multiple ranges or if range is in combination with unique key.
Constructor Summary | |
---|---|
SortedTableLookupStrategy(int lookupStream,
int numStreams,
QueryGraphValueEntryRange rangeKeyPair,
java.lang.Class coercionType,
PropertySortedEventTable index)
Ctor. |
Method Summary | |
---|---|
PropertySortedEventTable |
getIndex()
Returns index to look up in. |
LookupStrategyDesc |
getStrategyDesc()
|
java.util.Set<EventBean> |
lookup(EventBean theEvent,
Cursor cursor,
ExprEvaluatorContext exprEvaluatorContext)
Returns matched events for a event to look up for. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SortedTableLookupStrategy(int lookupStream, int numStreams, QueryGraphValueEntryRange rangeKeyPair, java.lang.Class coercionType, PropertySortedEventTable index)
index
- - index to look up inMethod Detail |
---|
public PropertySortedEventTable getIndex()
public java.util.Set<EventBean> lookup(EventBean theEvent, Cursor cursor, ExprEvaluatorContext exprEvaluatorContext)
JoinExecTableLookupStrategy
lookup
in interface JoinExecTableLookupStrategy
theEvent
- to look upcursor
- the path in the query that the lookup tookexprEvaluatorContext
- expression evaluation context
public java.lang.String toString()
toString
in class java.lang.Object
public LookupStrategyDesc getStrategyDesc()
getStrategyDesc
in interface JoinExecTableLookupStrategy
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |