Class LookupInstructionExecNode
java.lang.Object
com.espertech.esper.common.internal.epl.join.strategy.ExecNode
com.espertech.esper.common.internal.epl.join.exec.outer.LookupInstructionExecNode
Execution for a set of lookup instructions and for a set of result assemble instructions to perform
joins and construct a complex result.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Receives result rows posted by result set assembly nodes. -
Constructor Summary
ConstructorDescriptionLookupInstructionExecNode
(int rootStream, String rootStreamName, int numStreams, LookupInstructionExec[] lookupInstructions, boolean[] requiredPerStream, BaseAssemblyNodeFactory[] assemblyInstructionFactories) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
print
(IndentWriter writer) Output the execution strategy.void
process
(EventBean lookupEvent, EventBean[] prefillPath, Collection<EventBean[]> resultFinalRows, ExprEvaluatorContext exprEvaluatorContext) Process single event using the prefill events to compile lookup results.
-
Constructor Details
-
LookupInstructionExecNode
public LookupInstructionExecNode(int rootStream, String rootStreamName, int numStreams, LookupInstructionExec[] lookupInstructions, boolean[] requiredPerStream, BaseAssemblyNodeFactory[] assemblyInstructionFactories) 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 lookupassemblyInstructionFactories
- factories for assembly
-
-
Method Details
-
process
public void process(EventBean lookupEvent, EventBean[] prefillPath, Collection<EventBean[]> resultFinalRows, ExprEvaluatorContext exprEvaluatorContext) Description copied from class:ExecNode
Process single event using the prefill events to compile lookup results.- Specified by:
process
in classExecNode
- 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.resultFinalRows
- is the list of tuples to add a result row toexprEvaluatorContext
- context for expression evaluation
-
print
Description copied from class:ExecNode
Output the execution strategy.
-