Package org.apache.drill.exec.work.batch
Class IncomingBuffers
java.lang.Object
org.apache.drill.exec.work.batch.IncomingBuffers
- All Implemented Interfaces:
AutoCloseable
Determines when a particular fragment has enough data for each of its receiving exchanges to commence execution. Also monitors whether we've collected all incoming data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbatchArrived(IncomingDataBatch incomingBatch) voidclose()getCollector(int senderMajorFragmentId) intbooleanisDone()
-
Constructor Details
-
IncomingBuffers
-
-
Method Details
-
batchArrived
public boolean batchArrived(IncomingDataBatch incomingBatch) throws FragmentSetupException, IOException - Throws:
FragmentSetupExceptionIOException
-
getRemainingRequired
public int getRemainingRequired() -
getCollector
-
isDone
public boolean isDone() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-