public abstract class AbstractSender extends AbstractSingle implements Sender
| Modifier and Type | Field and Description |
|---|---|
protected List<MinorFragmentEndpoint> |
destinations |
protected int |
oppositeMajorFragmentId |
childINIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation| Constructor and Description |
|---|
AbstractSender(int oppositeMajorFragmentId,
PhysicalOperator child,
List<MinorFragmentEndpoint> destinations) |
| Modifier and Type | Method and Description |
|---|---|
<T,X,E extends Throwable> |
accept(PhysicalVisitor<T,X,E> physicalVisitor,
X value)
Provides capability to build a set of output based on traversing a query graph tree.
|
List<MinorFragmentEndpoint> |
getDestinations()
Get the list of destination endpoints that this Sender will be communicating with.
|
int |
getOppositeMajorFragmentId()
Get the receiver major fragment id that is opposite this sender.
|
getChild, getNewWithChild, getNewWithChildren, iteratoraccept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCost, getInitialAllocation, getMaxAllocation, getNewWithChildren, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdacceptforEach, iterator, spliteratorprotected final int oppositeMajorFragmentId
protected final List<MinorFragmentEndpoint> destinations
public AbstractSender(int oppositeMajorFragmentId,
PhysicalOperator child,
List<MinorFragmentEndpoint> destinations)
oppositeMajorFragmentId - MajorFragmentId of fragments that are receiving data sent by this sender.child - Child PhysicalOperator which is providing data to this Sender.destinations - List of receiver MinorFragmentEndpoints each containing MinorFragmentId and Drillbit endpoint
where it is running.public <T,X,E extends Throwable> T accept(PhysicalVisitor<T,X,E> physicalVisitor, X value) throws E extends Throwable
PhysicalOperatoraccept in interface PhysicalOperatorE extends Throwablepublic int getOppositeMajorFragmentId()
SendergetOppositeMajorFragmentId in interface Senderpublic List<MinorFragmentEndpoint> getDestinations()
SendergetDestinations in interface SenderCopyright © 2021 The Apache Software Foundation. All rights reserved.