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, toString
annotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlan
public 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
LogicalRelationalOperator
getSchema
in class LogicalRelationalOperator
FrontendException
public void accept(PlanVisitor v) throws FrontendException
Operator
accept
in class Operator
v
- Visitor to accept.FrontendException
public SortInfo getSortInfo() throws FrontendException
FrontendException
public boolean isEqual(Operator other) throws FrontendException
Operator
isEqual
in class Operator
FrontendException
public Operator getInput(LogicalPlan plan)
public static LOSort createCopy(LOSort sort) throws FrontendException
FrontendException
Copyright © 2007-2017 The Apache Software Foundation