|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.join.exec.ExecNode
net.esper.eql.join.exec.TableLookupExecNode
public class TableLookupExecNode
Execution node for lookup in a table.
Constructor Summary | |
---|---|
TableLookupExecNode(int indexedStream,
TableLookupStrategy lookupStrategy)
Ctor. |
Method Summary | |
---|---|
int |
getIndexedStream()
Returns target stream for lookup. |
TableLookupStrategy |
getLookupStrategy()
Returns strategy for lookup. |
void |
print(IndentWriter writer)
Output the execution strategy. |
void |
process(EventBean lookupEvent,
EventBean[] prefillPath,
List<EventBean[]> result)
Process single event using the prefill events to compile lookup results. |
Methods inherited from class net.esper.eql.join.exec.ExecNode |
---|
print |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableLookupExecNode(int indexedStream, TableLookupStrategy lookupStrategy)
indexedStream
- - stream indexed for lookuplookupStrategy
- - strategy to use for lookup (full table/indexed)Method Detail |
---|
public TableLookupStrategy getLookupStrategy()
public void process(EventBean lookupEvent, EventBean[] prefillPath, List<EventBean[]> result)
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 topublic int getIndexedStream()
public void print(IndentWriter writer)
ExecNode
print
in class ExecNode
writer
- to output to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |