|
||||||||||
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.LookupInstructionExecNode
public class 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 | |
---|---|
static class |
LookupInstructionExecNode.MyResultAssembler
Receives result rows posted by result set assembly nodes. |
Constructor Summary | |
---|---|
LookupInstructionExecNode(int rootStream,
java.lang.String rootStreamName,
int numStreams,
LookupInstructionExec[] lookupInstructions,
boolean[] requiredPerStream,
java.util.List<BaseAssemblyNodeFactory> assemblyInstructionFactories)
Ctor. |
Method Summary | |
---|---|
void |
print(IndentWriter writer)
Output the execution strategy. |
void |
process(EventBean lookupEvent,
EventBean[] prefillPath,
java.util.Collection<EventBean[]> resultFinalRows,
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 LookupInstructionExecNode(int rootStream, java.lang.String rootStreamName, int numStreams, LookupInstructionExec[] lookupInstructions, boolean[] requiredPerStream, java.util.List<BaseAssemblyNodeFactory> assemblyInstructionFactories)
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 lookupMethod Detail |
---|
public void process(EventBean lookupEvent, EventBean[] prefillPath, java.util.Collection<EventBean[]> resultFinalRows, 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.resultFinalRows
- is the list of tuples to add a result row toexprEvaluatorContext
- context for expression evaluationpublic 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 |