Class InKeywordSingleTableLookupStrategyExpr
java.lang.Object
com.espertech.esper.common.internal.epl.join.exec.inkeyword.InKeywordSingleTableLookupStrategyExpr
- All Implemented Interfaces:
JoinExecTableLookupStrategy
public class InKeywordSingleTableLookupStrategyExpr
extends Object
implements JoinExecTableLookupStrategy
Lookup on an index using a set of expression results as key values.
-
Constructor Summary
ConstructorDescriptionInKeywordSingleTableLookupStrategyExpr
(InKeywordTableLookupPlanSingleIdxFactory factory, PropertyHashedEventTable index) -
Method Summary
Modifier and TypeMethodDescriptionlookup
(EventBean theEvent, Cursor cursor, ExprEvaluatorContext exprEvaluatorContext) Returns matched events for a event to look up for.toString()
-
Constructor Details
-
InKeywordSingleTableLookupStrategyExpr
public InKeywordSingleTableLookupStrategyExpr(InKeywordTableLookupPlanSingleIdxFactory factory, PropertyHashedEventTable index)
-
-
Method Details
-
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
-
toString
-
getLookupStrategyType
- Specified by:
getLookupStrategyType
in interfaceJoinExecTableLookupStrategy
-