public class PartitionSenderRootExec extends BaseRootExec
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionSenderRootExec.Metric |
| Modifier and Type | Field and Description |
|---|---|
protected int |
actualPartitions |
protected int |
numberPartitions |
fragmentContext, oContext, stats| Constructor and Description |
|---|
PartitionSenderRootExec(FragmentContext context,
RecordBatch incoming,
HashPartitionSender operator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
createPartitioner() |
protected PartitionerDecorator |
getPartitioner() |
boolean |
innerNext() |
void |
receivingFragmentFinished(ExecProtos.FragmentHandle handle)
Inform sender that receiving fragment is finished and doesn't need any more data
|
void |
sendEmptyBatch(boolean isLast) |
next, nextprotected final int numberPartitions
protected final int actualPartitions
public PartitionSenderRootExec(FragmentContext context, RecordBatch incoming, HashPartitionSender operator) throws OutOfMemoryException
OutOfMemoryExceptionpublic boolean innerNext()
innerNext in class BaseRootExecprotected void createPartitioner()
throws SchemaChangeException
SchemaChangeExceptionpublic void receivingFragmentFinished(ExecProtos.FragmentHandle handle)
RootExecreceivingFragmentFinished in interface RootExecreceivingFragmentFinished in class BaseRootExecpublic void close()
throws Exception
close in interface AutoCloseableclose in class BaseRootExecExceptionpublic void sendEmptyBatch(boolean isLast)
protected PartitionerDecorator getPartitioner()
Copyright © 2017 The Apache Software Foundation. All rights reserved.