public class ExternalSort extends Sort
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_SORT_ALLOCATION |
childINIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation| Constructor and Description |
|---|
ExternalSort(PhysicalOperator child,
List<Order.Ordering> orderings,
boolean reverse) |
| Modifier and Type | Method and Description |
|---|---|
protected PhysicalOperator |
getNewWithChild(PhysicalOperator child) |
int |
getOperatorType() |
boolean |
isBufferedOperator()
The External Sort operator supports spilling
|
void |
setMaxAllocation(long maxAllocation)
Any operator that supports spilling should override this method
|
accept, getOrderings, getReverse, getSVModegetChild, getNewWithChildren, iteratoraccept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getUserName, isExecutable, setCost, setOperatorIdpublic static final long DEFAULT_SORT_ALLOCATION
public ExternalSort(PhysicalOperator child, List<Order.Ordering> orderings, boolean reverse)
protected PhysicalOperator getNewWithChild(PhysicalOperator child)
getNewWithChild in class Sortpublic int getOperatorType()
getOperatorType in interface PhysicalOperatorgetOperatorType in class Sortpublic void setMaxAllocation(long maxAllocation)
AbstractBasesetMaxAllocation in interface PhysicalOperatorsetMaxAllocation in class AbstractBasemaxAllocation - The max memory allocation to be setpublic boolean isBufferedOperator()
isBufferedOperator in interface PhysicalOperatorisBufferedOperator in class AbstractBaseCopyright © 2017 The Apache Software Foundation. All rights reserved.