public interface RootExec extends AutoCloseable
RootExec
assume that all their
methods are called by the same thread.Modifier and Type | Method and Description |
---|---|
void |
dumpBatches(Throwable t)
Dump failed batches' state preceded by its parent's state to logs.
|
boolean |
next()
Do the next batch of work.
|
void |
receivingFragmentFinished(ExecProtos.FragmentHandle handle)
Inform sender that receiving fragment is finished and doesn't need any more
data.
|
close
boolean next()
void receivingFragmentFinished(ExecProtos.FragmentHandle handle)
next()
will return false.handle
- The handle pointing to the downstream receiver that does not need
anymore data.void dumpBatches(Throwable t)
t
- the exception thrown by an operator and which therefore
records, in its stack trace, which operators were active on the stackCopyright © 1970 The Apache Software Foundation. All rights reserved.