public class TableOuterLookupExecNode extends ExecNode
Modifier and Type | Field and Description |
---|---|
protected JoinExecTableLookupStrategy |
lookupStrategy |
Constructor and Description |
---|
TableOuterLookupExecNode(int indexedStream,
JoinExecTableLookupStrategy lookupStrategy)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndexedStream()
Returns target stream for lookup.
|
JoinExecTableLookupStrategy |
getLookupStrategy()
Returns strategy for lookup.
|
void |
print(IndentWriter writer)
Output the execution strategy.
|
void |
process(EventBean lookupEvent,
EventBean[] prefillPath,
Collection<EventBean[]> result,
ExprEvaluatorContext exprEvaluatorContext)
Process single event using the prefill events to compile lookup results.
|
protected void |
processResults(EventBean[] prefillPath,
Collection<EventBean[]> result,
Set<EventBean> joinedEvents) |
protected JoinExecTableLookupStrategy lookupStrategy
public TableOuterLookupExecNode(int indexedStream, JoinExecTableLookupStrategy lookupStrategy)
indexedStream
- - stream indexed for lookuplookupStrategy
- - strategy to use for lookup (full table/indexed)public JoinExecTableLookupStrategy getLookupStrategy()
public void process(EventBean lookupEvent, EventBean[] prefillPath, Collection<EventBean[]> result, ExprEvaluatorContext exprEvaluatorContext)
ExecNode
process
in class ExecNode
lookupEvent
- - event to look up for or query forprefillPath
- - set of events currently in the example tuple to serve
as a prototype for result rows.result
- is the list of tuples to add a result row toexprEvaluatorContext
- context for expression evaluationprotected void processResults(EventBean[] prefillPath, Collection<EventBean[]> result, Set<EventBean> joinedEvents)
public int getIndexedStream()
public void print(IndentWriter writer)
ExecNode