Class Fragment
java.lang.Object
org.apache.drill.exec.planner.fragment.Fragment
- All Implemented Interfaces:
Iterable<Fragment.ExchangeFragmentPair>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classclass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSet the given operator as root operator of this fragment.voidaddReceiveExchange(Exchange e, Fragment fragment) voidaddSendExchange(Exchange e, Fragment sendingToFragment) booleangetBufferedOperators(QueryContext queryContext) getRoot()inthashCode()iterator()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
iteratorin interfaceIterable<Fragment.ExchangeFragmentPair>
-
getReceivingExchangePairs
-
getRoot
-
getSendingExchange
-
getSendingExchangePair
-
hashCode
public int hashCode() -
equals
-
getBufferedOperators
-
toString
-