Class ExecNodeQueryStrategy
java.lang.Object
com.espertech.esper.common.internal.epl.join.strategy.ExecNodeQueryStrategy
- All Implemented Interfaces:
QueryStrategy
Query strategy for building a join tuple set by using an execution node tree.
-
Constructor Summary
ConstructorsConstructorDescriptionExecNodeQueryStrategy
(int forStream, int numStreams, ExecNode execNode) CTor. -
Method Summary
Modifier and TypeMethodDescriptionprotected ExecNode
Returns execution node.protected int
Return stream number this strategy is for.protected int
Returns the total number of streams.void
lookup
(EventBean[] lookupEvents, Set<MultiKeyArrayOfKeys<EventBean>> joinSet, ExprEvaluatorContext exprEvaluatorContext) Look up events returning tuples of joined events.
-
Constructor Details
-
ExecNodeQueryStrategy
CTor.- Parameters:
forStream
- - stream the strategy is fornumStreams
- - number of streams in totalexecNode
- - execution node for building join tuple set
-
-
Method Details
-
lookup
public void lookup(EventBean[] lookupEvents, Set<MultiKeyArrayOfKeys<EventBean>> joinSet, ExprEvaluatorContext exprEvaluatorContext) Description copied from interface:QueryStrategy
Look up events returning tuples of joined events.- Specified by:
lookup
in interfaceQueryStrategy
- Parameters:
lookupEvents
- - events to use to perform the joinjoinSet
- - result join tuples of eventsexprEvaluatorContext
- expression evaluation context
-
getForStream
protected int getForStream()Return stream number this strategy is for.- Returns:
- stream num
-
getNumStreams
protected int getNumStreams()Returns the total number of streams.- Returns:
- number of streams
-
getExecNode
Returns execution node.- Returns:
- execution node
-