public class HistoricalTableLookupStrategy extends Object implements JoinExecTableLookupStrategy
Constructor and Description |
---|
HistoricalTableLookupStrategy(HistoricalEventViewable viewable,
PollResultIndexingStrategy indexingStrategy,
HistoricalIndexLookupStrategy lookupStrategy,
int numStreams,
int streamNum,
int rootStreamNum,
ExprEvaluator outerJoinExprNode)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
LookupStrategyDesc |
getStrategyDesc() |
Set<EventBean> |
lookup(EventBean theEvent,
Cursor cursor,
ExprEvaluatorContext exprEvaluatorContext)
Returns matched events for a event to look up for.
|
public HistoricalTableLookupStrategy(HistoricalEventViewable viewable, PollResultIndexingStrategy indexingStrategy, HistoricalIndexLookupStrategy lookupStrategy, int numStreams, int streamNum, int rootStreamNum, ExprEvaluator outerJoinExprNode)
viewable
- providing the polling accessindexingStrategy
- strategy for indexing resultslookupStrategy
- strategy for using indexed resultsnumStreams
- number of streamsstreamNum
- stream number of the historical streamrootStreamNum
- the query plan root stream numberouterJoinExprNode
- an optional outer join expressionpublic 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 contextpublic LookupStrategyDesc getStrategyDesc()
getStrategyDesc
in interface JoinExecTableLookupStrategy