Class JoinPreloadMethodImpl
java.lang.Object
com.espertech.esper.common.internal.epl.join.base.JoinPreloadMethodImpl
- All Implemented Interfaces:
JoinPreloadMethod
Implements a method for pre-loading (initializing) join indexes from a filled buffer.
-
Constructor Summary
ConstructorDescriptionJoinPreloadMethodImpl
(int numStreams, JoinSetComposer joinSetComposer) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
preloadAggregation
(ResultSetProcessor resultSetProcessor) Initialize the result set process for the purpose of grouping and aggregation from the join result set.void
preloadFromBuffer
(int stream, ExprEvaluatorContext exprEvaluatorContext) Initialize a stream from the stream buffers data.void
setBuffer
(BufferView view, int stream) Sets the buffer for a stream to preload events from.
-
Constructor Details
-
JoinPreloadMethodImpl
Ctor.- Parameters:
numStreams
- number of streamsjoinSetComposer
- the composer holding stream indexes
-
-
Method Details
-
setBuffer
Sets the buffer for a stream to preload events from.- Specified by:
setBuffer
in interfaceJoinPreloadMethod
- Parameters:
view
- bufferstream
- the stream number for the buffer
-
preloadFromBuffer
Description copied from interface:JoinPreloadMethod
Initialize a stream from the stream buffers data.- Specified by:
preloadFromBuffer
in interfaceJoinPreloadMethod
- Parameters:
stream
- to initialize and load indexesexprEvaluatorContext
- evaluator context
-
preloadAggregation
Description copied from interface:JoinPreloadMethod
Initialize the result set process for the purpose of grouping and aggregation from the join result set.- Specified by:
preloadAggregation
in interfaceJoinPreloadMethod
- Parameters:
resultSetProcessor
- is the grouping and aggregation result processing
-
isPreloading
public boolean isPreloading()- Specified by:
isPreloading
in interfaceJoinPreloadMethod
-