public abstract class BaseRootExec extends Object implements RootExec
| Modifier and Type | Field and Description |
|---|---|
protected FragmentContext |
fragmentContext |
protected OperatorContext |
oContext |
protected OperatorStats |
stats |
| Constructor and Description |
|---|
BaseRootExec(FragmentContext fragmentContext,
OperatorContext oContext,
PhysicalOperator config) |
BaseRootExec(FragmentContext fragmentContext,
PhysicalOperator config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
abstract boolean |
innerNext() |
boolean |
next()
Do the next batch of work.
|
RecordBatch.IterOutcome |
next(RecordBatch b) |
void |
receivingFragmentFinished(ExecProtos.FragmentHandle handle)
Inform sender that receiving fragment is finished and doesn't need any more data
|
protected OperatorStats stats
protected OperatorContext oContext
protected FragmentContext fragmentContext
public BaseRootExec(FragmentContext fragmentContext, PhysicalOperator config) throws OutOfMemoryException
OutOfMemoryExceptionpublic BaseRootExec(FragmentContext fragmentContext, OperatorContext oContext, PhysicalOperator config) throws OutOfMemoryException
OutOfMemoryExceptionpublic final boolean next()
RootExecpublic final RecordBatch.IterOutcome next(RecordBatch b)
public abstract boolean innerNext()
public void receivingFragmentFinished(ExecProtos.FragmentHandle handle)
RootExecreceivingFragmentFinished in interface RootExecpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.