net.esper.eql.join.exec
Class LookupInstructionExecNode
java.lang.Object
net.esper.eql.join.exec.ExecNode
net.esper.eql.join.exec.LookupInstructionExecNode
public class LookupInstructionExecNode
- extends ExecNode
Execution for a set of lookup instructions and for a set of result assemble instructions to perform
joins and construct a complex result.
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 |
LookupInstructionExecNode
public LookupInstructionExecNode(int rootStream,
String rootStreamName,
int numStreams,
LookupInstructionExec[] lookupInstructions,
boolean[] requiredPerStream,
BaseAssemblyNode[] assemblyInstructions)
- Ctor.
- Parameters:
rootStream
- is the stream supplying the lookup eventrootStreamName
- is the name of the stream supplying the lookup eventnumStreams
- is the number of streamslookupInstructions
- is a list of lookups to performrequiredPerStream
- indicates which streams are required and which are optional in the lookupassemblyInstructions
- is the bottom-up assembly nodes to assemble a lookup result nodes
process
public void process(EventBean lookupEvent,
EventBean[] prefillPath,
List<EventBean[]> result)
- Description copied from class:
ExecNode
- Process single event using the prefill events to compile lookup results.
- Specified by:
process
in class ExecNode
- Parameters:
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 to
print
public void print(IndentWriter writer)
- Description copied from class:
ExecNode
- Output the execution strategy.
- Specified by:
print
in class ExecNode
- Parameters:
writer
- to output to