public class Sort extends AbstractSingle
Modifier and Type | Field and Description |
---|---|
static String |
OPERATOR_TYPE |
protected List<Order.Ordering> |
orderings |
protected boolean |
reverse |
child
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
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, iterator
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public 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
PhysicalOperator
E extends Throwable
protected PhysicalOperator getNewWithChild(PhysicalOperator child)
getNewWithChild
in class AbstractSingle
public BatchSchema.SelectionVectorMode getSVMode()
PhysicalOperator
PhysicalPlanCreator
.getSVMode
in interface PhysicalOperator
getSVMode
in class AbstractBase
public String getOperatorType()
Copyright © 1970 The Apache Software Foundation. All rights reserved.