public class LOSort extends LogicalRelationalOperator
alias, lineNum, mCustomPartitioner, mPinnedOptions, requestedParallelism, schema| Constructor and Description |
|---|
LOSort(OperatorPlan plan) |
LOSort(OperatorPlan plan,
List<LogicalExpressionPlan> sortColPlans,
List<Boolean> ascCols,
FuncSpec sortFunc) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PlanVisitor v)
Accept a visitor at this node in the graph.
|
static LOSort |
createCopy(LOSort sort) |
List<Boolean> |
getAscendingCols() |
Operator |
getInput(LogicalPlan plan) |
long |
getLimit() |
LogicalSchema |
getSchema()
Get the schema for the output of this relational operator.
|
List<LogicalExpressionPlan> |
getSortColPlans() |
SortInfo |
getSortInfo() |
FuncSpec |
getUserFunc() |
boolean |
isEqual(Operator other)
This is like a shallow equals comparison.
|
boolean |
isLimited() |
boolean |
isStar() |
void |
setAscendingCols(List<Boolean> ascCols) |
void |
setLimit(long l) |
void |
setSortColPlans(List<LogicalExpressionPlan> sortPlans) |
void |
setStar(boolean b) |
void |
setUserFunc(FuncSpec func) |
checkEquality, fixDuplicateUids, getAlias, getCustomPartitioner, getLineNumber, getRequestedParallelism, isPinnedOption, neverUseForRealSetSchema, pinOption, resetSchema, resetUid, setAlias, setCustomPartitioner, setRequestedParallelism, setSchema, toStringannotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlanpublic LOSort(OperatorPlan plan)
public LOSort(OperatorPlan plan, List<LogicalExpressionPlan> sortColPlans, List<Boolean> ascCols, FuncSpec sortFunc)
public List<LogicalExpressionPlan> getSortColPlans()
public void setSortColPlans(List<LogicalExpressionPlan> sortPlans)
public FuncSpec getUserFunc()
public void setUserFunc(FuncSpec func)
public boolean isStar()
public void setStar(boolean b)
public void setLimit(long l)
public long getLimit()
public boolean isLimited()
public LogicalSchema getSchema() throws FrontendException
LogicalRelationalOperatorgetSchema in class LogicalRelationalOperatorFrontendExceptionpublic void accept(PlanVisitor v) throws FrontendException
Operatoraccept in class Operatorv - Visitor to accept.FrontendExceptionpublic SortInfo getSortInfo() throws FrontendException
FrontendExceptionpublic boolean isEqual(Operator other) throws FrontendException
OperatorisEqual in class OperatorFrontendExceptionpublic Operator getInput(LogicalPlan plan)
public static LOSort createCopy(LOSort sort) throws FrontendException
FrontendExceptionCopyright © 2007-2017 The Apache Software Foundation