public class SingleSender extends AbstractSender
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATOR_TYPE |
destinations, oppositeMajorFragmentIdchildINIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation| Constructor and Description |
|---|
SingleSender(int oppositeMajorFragmentId,
int oppositeMinorFragmentId,
PhysicalOperator child,
CoordinationProtos.DrillbitEndpoint destination)
Create a SingleSender which sends data to fragment identified by given MajorFragmentId and MinorFragmentId,
and running at given endpoint
|
SingleSender(int oppositeMajorFragmentId,
PhysicalOperator child,
CoordinationProtos.DrillbitEndpoint destination)
Create a SingleSender which sends data to fragment with MinorFragmentId as 0 in given opposite major
fragment.
|
| 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.
|
CoordinationProtos.DrillbitEndpoint |
getDestination() |
List<MinorFragmentEndpoint> |
getDestinations()
Get the list of destination endpoints that this Sender will be communicating with.
|
protected PhysicalOperator |
getNewWithChild(PhysicalOperator child) |
String |
getOperatorType() |
int |
getOppositeMinorFragmentId() |
getOppositeMajorFragmentIdgetChild, 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, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdacceptforEach, iterator, spliteratorpublic static final String OPERATOR_TYPE
public SingleSender(int oppositeMajorFragmentId,
int oppositeMinorFragmentId,
PhysicalOperator child,
CoordinationProtos.DrillbitEndpoint destination)
oppositeMajorFragmentId - MajorFragmentId of the receiver fragment.oppositeMinorFragmentId - MinorFragmentId of the receiver fragment.child - Child operatordestination - Drillbit endpoint where the receiver fragment is running.public SingleSender(int oppositeMajorFragmentId,
PhysicalOperator child,
CoordinationProtos.DrillbitEndpoint destination)
oppositeMajorFragmentId - MajorFragmentId of the receiver fragment.child - Child operatordestination - Drillbit endpoint where the receiver fragment is running.public List<MinorFragmentEndpoint> getDestinations()
SendergetDestinations in interface SendergetDestinations in class AbstractSenderprotected PhysicalOperator getNewWithChild(PhysicalOperator child)
getNewWithChild in class AbstractSinglepublic <T,X,E extends Throwable> T accept(PhysicalVisitor<T,X,E> physicalVisitor, X value) throws E extends Throwable
PhysicalOperatoraccept in interface PhysicalOperatoraccept in class AbstractSenderE extends Throwablepublic CoordinationProtos.DrillbitEndpoint getDestination()
public int getOppositeMinorFragmentId()
public String getOperatorType()
Copyright © 2021 The Apache Software Foundation. All rights reserved.