Class UnorderedReceiver
java.lang.Object
org.apache.drill.exec.physical.base.AbstractBase
org.apache.drill.exec.physical.base.AbstractReceiver
org.apache.drill.exec.physical.config.UnorderedReceiver
- All Implemented Interfaces:
Iterable<PhysicalOperator>
,GraphValue<PhysicalOperator>
,FragmentLeaf
,PhysicalOperator
,Receiver
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
-
Constructor Summary
ConstructorDescriptionUnorderedReceiver
(int oppositeMajorFragmentId, List<MinorFragmentEndpoint> senders, boolean spooling) -
Method Summary
Modifier and TypeMethodDescription<T,
X, E extends Throwable>
Taccept
(PhysicalVisitor<T, X, E> physicalVisitor, X value) Provides capability to build a set of output based on traversing a query graph tree.boolean
Whether or not this receive supports out of order exchange.Methods inherited from class org.apache.drill.exec.physical.base.AbstractReceiver
getNewWithChildren, getNumSenders, getOppositeMajorFragmentId, getProvidingEndpoints, isSpooling, iterator
Methods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.common.graph.GraphValue
accept
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.apache.drill.exec.physical.base.PhysicalOperator
getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
-
Field Details
-
OPERATOR_TYPE
- See Also:
-
-
Constructor Details
-
UnorderedReceiver
public UnorderedReceiver(int oppositeMajorFragmentId, List<MinorFragmentEndpoint> senders, boolean spooling)
-
-
Method Details
-
supportsOutOfOrderExchange
public boolean supportsOutOfOrderExchange()Description copied from interface:Receiver
Whether or not this receive supports out of order exchange. This provides a hint for the scheduling node on whether the receiver can start work if only a subset of all sending endpoints are currently providing data. A random receiver would supports this form of operation. A NWAY receiver would not.- Returns:
- True if this receiver supports working on a streaming/out of order input.
-
accept
public <T,X, T acceptE extends Throwable> (PhysicalVisitor<T, X, throws EE> physicalVisitor, X value) Description copied from interface:PhysicalOperator
Provides capability to build a set of output based on traversing a query graph tree.- Specified by:
accept
in interfacePhysicalOperator
- Overrides:
accept
in classAbstractReceiver
- Throws:
E extends Throwable
-
getOperatorType
-