public class JoinPreloadMethodImpl extends Object implements JoinPreloadMethod
Constructor and Description |
---|
JoinPreloadMethodImpl(int numStreams,
JoinSetComposer joinSetComposer)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isPreloading() |
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.
|
public JoinPreloadMethodImpl(int numStreams, JoinSetComposer joinSetComposer)
numStreams
- number of streamsjoinSetComposer
- the composer holding stream indexespublic void setBuffer(BufferView view, int stream)
setBuffer
in interface JoinPreloadMethod
view
- bufferstream
- the stream number for the bufferpublic void preloadFromBuffer(int stream, ExprEvaluatorContext exprEvaluatorContext)
JoinPreloadMethod
preloadFromBuffer
in interface JoinPreloadMethod
stream
- to initialize and load indexesexprEvaluatorContext
- evaluator contextpublic void preloadAggregation(ResultSetProcessor resultSetProcessor)
JoinPreloadMethod
preloadAggregation
in interface JoinPreloadMethod
resultSetProcessor
- is the grouping and aggregation result processingpublic boolean isPreloading()
isPreloading
in interface JoinPreloadMethod