Class FullTableScanLookupStrategy
java.lang.Object
com.espertech.esper.common.internal.epl.join.exec.base.FullTableScanLookupStrategy
- All Implemented Interfaces:
JoinExecTableLookupStrategy
Lookup on an unindexed table returning the full table as matching events.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the associated table.lookup
(EventBean theEvent, Cursor cursor, ExprEvaluatorContext exprEvaluatorContext) Returns matched events for a event to look up for.
-
Constructor Details
-
FullTableScanLookupStrategy
Ctor.- Parameters:
eventIndex
- - table to use
-
-
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
-
getEventIndex
Returns the associated table.- Returns:
- table for lookup.
-
getLookupStrategyType
- Specified by:
getLookupStrategyType
in interfaceJoinExecTableLookupStrategy
-