|
||||||||||
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.LookupInstructionExec
public class LookupInstructionExec
Execution for a lookup instruction to look up in one or more event streams with a supplied event and using a given set of lookup strategies, and adding any lookup results to a lighweight repository object for later result assembly.
Constructor Summary | |
---|---|
LookupInstructionExec(int fromStream,
java.lang.String fromStreamName,
int[] toStreams,
JoinExecTableLookupStrategy[] lookupStrategies,
boolean[] requiredPerStream)
Ctor. |
Method Summary | |
---|---|
int |
getFromStream()
Returns the stream number of the stream supplying the event to use for lookup. |
boolean |
hasRequiredStream()
Returns true if there is one or more required substreams or false if no substreams are required joins. |
void |
print(IndentWriter writer)
Output the instruction. |
boolean |
process(Repository repository,
ExprEvaluatorContext exprEvaluatorContext)
Execute the instruction adding results to the repository and obtaining events for lookup from the repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LookupInstructionExec(int fromStream, java.lang.String fromStreamName, int[] toStreams, JoinExecTableLookupStrategy[] lookupStrategies, boolean[] requiredPerStream)
fromStream
- - the stream supplying the lookup eventfromStreamName
- - the stream name supplying the lookup eventtoStreams
- - the set of streams to look up inlookupStrategies
- - the strategy to use for each stream to look up inrequiredPerStream
- - indicates which of the lookup streams are required to build a result and which are notMethod Detail |
---|
public int getFromStream()
public boolean hasRequiredStream()
public boolean process(Repository repository, ExprEvaluatorContext exprEvaluatorContext)
repository
- supplies events for lookup, and place to add results toexprEvaluatorContext
- expression evaluation context
public void print(IndentWriter writer)
writer
- is the write 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 |