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
Nested Classes -
Field Summary
Fields inherited from class org.apache.drill.exec.physical.impl.BaseRootExec
ENABLE_BATCH_DUMP_CONFIG, fragmentContext, oContext, stats -
Constructor Summary
ConstructorsConstructorDescriptionSingleSenderRootExec(RootFragmentContext context, RecordBatch batch, SingleSender config) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidInform sender that receiving fragment is finished and doesn't need any more data.voidupdateStats(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:
innerNextin classBaseRootExec
-
updateStats
-
receivingFragmentFinished
Description copied from interface:RootExecInform 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:
receivingFragmentFinishedin interfaceRootExec- Overrides:
receivingFragmentFinishedin classBaseRootExec- Parameters:
handle- The handle pointing to the downstream receiver that does not need anymore data.
-