|
||||||||||
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.TableLookupExecNode
public class TableLookupExecNode
Execution node for lookup in a table.
Field Summary | |
---|---|
protected JoinExecTableLookupStrategy |
lookupStrategy
|
Constructor Summary | |
---|---|
TableLookupExecNode(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. |
protected void |
processResults(EventBean[] prefillPath,
java.util.Collection<EventBean[]> result,
java.util.Set<EventBean> joinedEvents)
|
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 |
Field Detail |
---|
protected JoinExecTableLookupStrategy lookupStrategy
Constructor Detail |
---|
public TableLookupExecNode(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 evaluationprotected void processResults(EventBean[] prefillPath, java.util.Collection<EventBean[]> result, java.util.Set<EventBean> joinedEvents)
public int getIndexedStream()
public void print(IndentWriter writer)
ExecNode
print
in class ExecNode
writer
- to output to
|
© 2006-2015 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 |