Class Fragment
java.lang.Object
org.apache.drill.exec.planner.fragment.Fragment
- All Implemented Interfaces:
Iterable<Fragment.ExchangeFragmentPair>
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Set the given operator as root operator of this fragment.void
addReceiveExchange
(Exchange e, Fragment fragment) void
addSendExchange
(Exchange e, Fragment sendingToFragment) boolean
getBufferedOperators
(QueryContext queryContext) getRoot()
int
hashCode()
iterator()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Fragment
public Fragment()
-
-
Method Details
-
addOperator
Set the given operator as root operator of this fragment. If root operator is already set, then this method call is a no-op.- Parameters:
o
- new root operator
-
addSendExchange
- Throws:
ForemanSetupException
-
addReceiveExchange
-
iterator
- Specified by:
iterator
in interfaceIterable<Fragment.ExchangeFragmentPair>
-
getReceivingExchangePairs
-
getRoot
-
getSendingExchange
-
getSendingExchangePair
-
hashCode
public int hashCode() -
equals
-
getBufferedOperators
-
toString
-