Class Sort
java.lang.Object
org.apache.drill.exec.physical.base.AbstractBase
org.apache.drill.exec.physical.base.AbstractSingle
org.apache.drill.exec.physical.config.Sort
- All Implemented Interfaces:
Iterable<PhysicalOperator>,GraphValue<PhysicalOperator>,PhysicalOperator
- Direct Known Subclasses:
ExternalSort,TopN
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected final List<Order.Ordering> protected booleanFields inherited from class org.apache.drill.exec.physical.base.AbstractSingle
childFields inherited from class org.apache.drill.exec.physical.base.AbstractBase
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName -
Constructor Summary
ConstructorsConstructorDescriptionSort(PhysicalOperator child, List<Order.Ordering> orderings, boolean reverse) -
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.protected PhysicalOperatorgetNewWithChild(PhysicalOperator child) booleanDescribes the SelectionVector Mode for the output steam from this physical op.toString()Methods inherited from class org.apache.drill.exec.physical.base.AbstractSingle
getChild, getNewWithChildren, iteratorMethods inherited from class org.apache.drill.exec.physical.base.AbstractBase
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
OPERATOR_TYPE
- See Also:
-
orderings
-
reverse
protected boolean reverse
-
-
Constructor Details
-
Sort
-
-
Method Details
-
getOrderings
-
getReverse
public boolean getReverse() -
accept
public <T,X, T acceptE extends Throwable> (PhysicalVisitor<T, X, throws EE> physicalVisitor, X value) Description copied from interface:PhysicalOperatorProvides capability to build a set of output based on traversing a query graph tree.- Parameters:
physicalVisitor-- Throws:
E
-
getNewWithChild
- Specified by:
getNewWithChildin classAbstractSingle
-
getSVMode
Description copied from interface:PhysicalOperatorDescribes the SelectionVector Mode for the output steam from this physical op. This property is used during physical plan creating usingPhysicalPlanCreator.- Specified by:
getSVModein interfacePhysicalOperator- Overrides:
getSVModein classAbstractBase
-
getOperatorType
-
toString
-