Class SingleSenderCreator.SingleSenderRootExec
java.lang.Object
org.apache.drill.exec.physical.impl.BaseRootExec
org.apache.drill.exec.physical.impl.SingleSenderCreator.SingleSenderRootExec
- All Implemented Interfaces:
AutoCloseable
,RootExec
- Enclosing class:
- SingleSenderCreator
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.impl.BaseRootExec
ENABLE_BATCH_DUMP_CONFIG, fragmentContext, oContext, stats
-
Constructor Summary
ConstructorDescriptionSingleSenderRootExec
(RootFragmentContext context, RecordBatch batch, SingleSender config) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
Inform sender that receiving fragment is finished and doesn't need any more data.void
updateStats
(FragmentWritableBatch writableBatch) Methods inherited from class org.apache.drill.exec.physical.impl.BaseRootExec
close, dumpBatches, findLeaf, next, next
-
Constructor Details
-
SingleSenderRootExec
public SingleSenderRootExec(RootFragmentContext context, RecordBatch batch, SingleSender config) throws OutOfMemoryException - Throws:
OutOfMemoryException
-
-
Method Details
-
innerNext
public boolean innerNext()- Specified by:
innerNext
in classBaseRootExec
-
updateStats
-
receivingFragmentFinished
Description copied from interface:RootExec
Inform sender that receiving fragment is finished and doesn't need any more data. This can be called multiple times (once for each downstream receiver). If all receivers are finished then a subsequent call toRootExec.next()
will return false.- Specified by:
receivingFragmentFinished
in interfaceRootExec
- Overrides:
receivingFragmentFinished
in classBaseRootExec
- Parameters:
handle
- The handle pointing to the downstream receiver that does not need anymore data.
-