public class UnionExchange extends AbstractExchange
Exchange.ParallelizationDependencyreceiverLocations, receiverMajorFragmentId, senderLocations, senderMajorFragmentIdchildINIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation| Constructor and Description |
|---|
UnionExchange(PhysicalOperator child) |
| Modifier and Type | Method and Description |
|---|---|
protected PhysicalOperator |
getNewWithChild(PhysicalOperator child) |
Receiver |
getReceiver(int minorFragmentId)
Get the Receiver associated with the given minorFragmentId.
|
ParallelizationInfo |
getReceiverParallelizationInfo(List<CoordinationProtos.DrillbitEndpoint> senderFragmentEndpoints)
Default receiver parallelization width range is [1, Integer.MAX_VALUE] and affinity to nodes where sender
fragments are running.
|
Sender |
getSender(int minorFragmentId,
PhysicalOperator child)
Get the Sender associated with the given minorFragmentId.
|
protected void |
setupReceivers(List<CoordinationProtos.DrillbitEndpoint> receiverLocations) |
void |
setupSenders(List<CoordinationProtos.DrillbitEndpoint> senderLocations) |
accept, getDefaultAffinityMap, getOperatorType, getParallelizationDependency, getReceiverMemory, getSenderMemory, getSenderParallelizationInfo, isExecutable, setupReceivers, setupSendersgetChild, getNewWithChildren, iteratoraccept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCost, getInitialAllocation, getMaxAllocation, getNewWithChildren, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdacceptforEach, iterator, spliteratorpublic UnionExchange(PhysicalOperator child)
public ParallelizationInfo getReceiverParallelizationInfo(List<CoordinationProtos.DrillbitEndpoint> senderFragmentEndpoints)
AbstractExchangegetReceiverParallelizationInfo in interface ExchangegetReceiverParallelizationInfo in class AbstractExchangesenderFragmentEndpoints - Endpoints assigned to receiver fragment if available, otherwise an empty list.ParallelizationInfo.public void setupSenders(List<CoordinationProtos.DrillbitEndpoint> senderLocations)
setupSenders in class AbstractExchangeprotected void setupReceivers(List<CoordinationProtos.DrillbitEndpoint> receiverLocations) throws PhysicalOperatorSetupException
setupReceivers in class AbstractExchangePhysicalOperatorSetupExceptionpublic Sender getSender(int minorFragmentId, PhysicalOperator child)
ExchangeminorFragmentId - The minor fragment id, must be in the range [0, fragment.width).child - The feeding node for the requested sender.public Receiver getReceiver(int minorFragmentId)
ExchangeminorFragmentId - The minor fragment id, must be in the range [0, fragment.width).protected PhysicalOperator getNewWithChild(PhysicalOperator child)
getNewWithChild in class AbstractSingleCopyright © 2021 The Apache Software Foundation. All rights reserved.