|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.join.exec.base.ExecNode
com.espertech.esper.epl.join.exec.base.TableOuterLookupExecNode
public class TableOuterLookupExecNode
Execution node for lookup in a table for outer joins. This execution node thus generates rows even if no joined events could be found, the joined table events are set to null if no joined events are found.
Constructor Summary | |
---|---|
TableOuterLookupExecNode(int indexedStream,
JoinExecTableLookupStrategy lookupStrategy)
Ctor. |
Method Summary | |
---|---|
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,
java.util.Collection<EventBean[]> result,
ExprEvaluatorContext exprEvaluatorContext)
Process single event using the prefill events to compile lookup results. |
Methods inherited from class com.espertech.esper.epl.join.exec.base.ExecNode |
---|
print |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableOuterLookupExecNode(int indexedStream, JoinExecTableLookupStrategy lookupStrategy)
indexedStream
- - stream indexed for lookuplookupStrategy
- - strategy to use for lookup (full table/indexed)Method Detail |
---|
public JoinExecTableLookupStrategy getLookupStrategy()
public void process(EventBean lookupEvent, EventBean[] prefillPath, java.util.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 evaluationpublic int getIndexedStream()
public void print(IndentWriter writer)
ExecNode
print
in class ExecNode
writer
- to output to
|
© 2006-2014 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |