Class InKeywordMultiTableLookupStrategyExpr
java.lang.Object
com.espertech.esper.common.internal.epl.join.exec.inkeyword.InKeywordMultiTableLookupStrategyExpr
- All Implemented Interfaces:
JoinExecTableLookupStrategy
public class InKeywordMultiTableLookupStrategyExpr
extends Object
implements JoinExecTableLookupStrategy
Lookup on an index using a set of expression results as key values.
-
Constructor Summary
ConstructorDescriptionInKeywordMultiTableLookupStrategyExpr
(InKeywordTableLookupPlanMultiIdxFactory factory, PropertyHashedEventTable[] indexes) -
Method Summary
Modifier and TypeMethodDescriptiongetIndex()
lookup
(EventBean theEvent, Cursor cursor, ExprEvaluatorContext exprEvaluatorContext) Returns matched events for a event to look up for.
-
Constructor Details
-
InKeywordMultiTableLookupStrategyExpr
public InKeywordMultiTableLookupStrategyExpr(InKeywordTableLookupPlanMultiIdxFactory factory, PropertyHashedEventTable[] indexes)
-
-
Method Details
-
getIndex
-
lookup
public Set<EventBean> lookup(EventBean theEvent, Cursor cursor, ExprEvaluatorContext exprEvaluatorContext) Description copied from interface:JoinExecTableLookupStrategy
Returns matched events for a event to look up for. Never returns an empty result set, always returns null to indicate no results.- Specified by:
lookup
in interfaceJoinExecTableLookupStrategy
- Parameters:
theEvent
- to look upcursor
- the path in the query that the lookup tookexprEvaluatorContext
- expression evaluation context- Returns:
- set of matching events, or null if none matching
-
getLookupStrategyType
- Specified by:
getLookupStrategyType
in interfaceJoinExecTableLookupStrategy
-