public class TopN extends Sort
childINIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation| Constructor and Description |
|---|
TopN(PhysicalOperator child,
List<Order.Ordering> orderings,
boolean reverse,
int limit) |
| 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.
|
int |
getLimit() |
protected PhysicalOperator |
getNewWithChild(PhysicalOperator child) |
int |
getOperatorType() |
List<Order.Ordering> |
getOrderings() |
boolean |
getReverse() |
getChild, getNewWithChildren, iteratoraccept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdpublic TopN(PhysicalOperator child, List<Order.Ordering> orderings, boolean reverse, int limit)
public List<Order.Ordering> getOrderings()
getOrderings in class Sortpublic boolean getReverse()
getReverse in class Sortpublic int getLimit()
public <T,X,E extends Throwable> T accept(PhysicalVisitor<T,X,E> physicalVisitor, X value) throws E extends Throwable
PhysicalOperatoraccept in interface PhysicalOperatoraccept in class SortE extends Throwableprotected PhysicalOperator getNewWithChild(PhysicalOperator child)
getNewWithChild in class Sortpublic int getOperatorType()
getOperatorType in interface PhysicalOperatorgetOperatorType in class SortCopyright © 2017 The Apache Software Foundation. All rights reserved.