public class Sort extends AbstractSingle
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATOR_TYPE |
protected List<Order.Ordering> |
orderings |
protected boolean |
reverse |
childINIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation| Constructor and Description |
|---|
Sort(PhysicalOperator child,
List<Order.Ordering> orderings,
boolean reverse) |
| 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.
|
protected PhysicalOperator |
getNewWithChild(PhysicalOperator child) |
String |
getOperatorType() |
List<Order.Ordering> |
getOrderings() |
boolean |
getReverse() |
BatchSchema.SelectionVectorMode |
getSVMode()
Describes the SelectionVector Mode for the output steam from this physical op.
|
String |
toString() |
getChild, getNewWithChildren, iteratoraccept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String OPERATOR_TYPE
protected final List<Order.Ordering> orderings
protected boolean reverse
public Sort(PhysicalOperator child, List<Order.Ordering> orderings, boolean reverse)
public List<Order.Ordering> getOrderings()
public boolean getReverse()
public <T,X,E extends Throwable> T accept(PhysicalVisitor<T,X,E> physicalVisitor, X value) throws E extends Throwable
PhysicalOperatorE extends Throwableprotected PhysicalOperator getNewWithChild(PhysicalOperator child)
getNewWithChild in class AbstractSinglepublic BatchSchema.SelectionVectorMode getSVMode()
PhysicalOperatorPhysicalPlanCreator.getSVMode in interface PhysicalOperatorgetSVMode in class AbstractBasepublic String getOperatorType()
Copyright © 2021 The Apache Software Foundation. All rights reserved.