Package org.apache.drill.exec.work.batch
Interface RawBatchBuffer
- All Superinterfaces:
AutoCloseable
,RawFragmentBatchProvider
- All Known Implementing Classes:
BaseRawBatchBuffer
,SpoolingRawBatchBuffer
,UnlimitedRawBatchBuffer
A batch buffer is responsible for queuing incoming batches until a consumer is ready to receive them. It will also
inform upstream if the batch cannot be accepted.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enqueue
(RawFragmentBatch batch) Add the next new raw fragment batch to the buffer.Methods inherited from interface org.apache.drill.exec.record.RawFragmentBatchProvider
close, getNext, kill
-
Field Details
-
logger
static final org.slf4j.Logger logger
-
-
Method Details
-
enqueue
Add the next new raw fragment batch to the buffer.- Parameters:
batch
- Batch to enqueue- Throws:
IOException
-