public abstract class AbstractReceiver extends AbstractBase implements Receiver
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation| Constructor and Description |
|---|
AbstractReceiver(int oppositeMajorFragmentId,
List<MinorFragmentEndpoint> senders,
boolean spooling) |
| 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.
|
PhysicalOperator |
getNewWithChildren(List<PhysicalOperator> children)
Regenerate with this node with a new set of children.
|
int |
getNumSenders() |
int |
getOppositeMajorFragmentId() |
List<MinorFragmentEndpoint> |
getProvidingEndpoints()
A receiver is expecting streams from one or more providing endpoints.
|
boolean |
isSpooling() |
Iterator<PhysicalOperator> |
iterator() |
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsOutOfOrderExchangegetCost, getInitialAllocation, getMaxAllocation, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdacceptforEach, spliteratorpublic AbstractReceiver(int oppositeMajorFragmentId,
List<MinorFragmentEndpoint> senders,
boolean spooling)
oppositeMajorFragmentId - MajorFragmentId of fragments that are sending data to this receiver.senders - List of sender MinorFragmentEndpoints each containing sender MinorFragmentId and Drillbit endpoint
where it is running.public Iterator<PhysicalOperator> iterator()
iterator in interface Iterable<PhysicalOperator>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 final PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperatorgetNewWithChildren in interface PhysicalOperatorpublic int getOppositeMajorFragmentId()
getOppositeMajorFragmentId in interface Receiverpublic List<MinorFragmentEndpoint> getProvidingEndpoints()
ReceivergetProvidingEndpoints in interface Receiverpublic int getNumSenders()
public boolean isSpooling()
isSpooling in interface ReceiverCopyright © 2021 The Apache Software Foundation. All rights reserved.