|
||||||||||
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.CompositeTableLookupStrategy
public class CompositeTableLookupStrategy
Lookup on an nested map structure that represents an index for use with at least one range and possibly multiple ranges and optionally keyed by one or more unique keys.
Use the sorted strategy instead if supporting a single range only and no other unique keys are part of the index.
Constructor Summary | |
---|---|
CompositeTableLookupStrategy(EventType eventType,
int lookupStream,
java.util.List<QueryGraphValueEntryHashKeyed> hashKeys,
java.util.List<QueryGraphValueEntryRange> rangeKeyPairs,
PropertyCompositeEventTable index)
Ctor. |
Method Summary | |
---|---|
EventType |
getEventType()
Returns event type of the lookup event. |
PropertyCompositeEventTable |
getIndex()
Returns index to look up in. |
LookupStrategyDesc |
getStrategyDesc()
|
java.util.Set<EventBean> |
lookup(EventBean theEvent,
Cursor cursor,
ExprEvaluatorContext context)
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 CompositeTableLookupStrategy(EventType eventType, int lookupStream, java.util.List<QueryGraphValueEntryHashKeyed> hashKeys, java.util.List<QueryGraphValueEntryRange> rangeKeyPairs, PropertyCompositeEventTable index)
eventType
- - event type to expect for lookupindex
- - index to look up inMethod Detail |
---|
public EventType getEventType()
public PropertyCompositeEventTable getIndex()
public java.util.Set<EventBean> lookup(EventBean theEvent, Cursor cursor, ExprEvaluatorContext context)
JoinExecTableLookupStrategy
lookup
in interface JoinExecTableLookupStrategy
theEvent
- to look upcursor
- the path in the query that the lookup tookcontext
- expression evaluation context
public LookupStrategyDesc getStrategyDesc()
getStrategyDesc
in interface JoinExecTableLookupStrategy
public java.lang.String toString()
toString
in class java.lang.Object
|
© 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 |