public class LOSort extends LogicalRelationalOperator
alias, lineNum, mCustomPartitioner, mPinnedOptions, requestedParallelism, schema
Constructor and Description |
---|
LOSort(OperatorPlan plan) |
LOSort(OperatorPlan plan,
java.util.List<LogicalExpressionPlan> sortColPlans,
java.util.List<java.lang.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) |
java.util.List<java.lang.Boolean> |
getAscendingCols() |
Operator |
getInput(LogicalPlan plan) |
long |
getLimit() |
LogicalSchema |
getSchema()
Get the schema for the output of this relational operator.
|
java.util.List<LogicalExpressionPlan> |
getSortColPlans() |
SortInfo |
getSortInfo() |
FuncSpec |
getUserFunc() |
boolean |
isEqual(Operator other)
This is like a shallow equals comparison.
|
boolean |
isLimited() |
boolean |
isStar() |
void |
setAscendingCols(java.util.List<java.lang.Boolean> ascCols) |
void |
setLimit(long l) |
void |
setSortColPlans(java.util.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, java.util.List<LogicalExpressionPlan> sortColPlans, java.util.List<java.lang.Boolean> ascCols, FuncSpec sortFunc)
public java.util.List<LogicalExpressionPlan> getSortColPlans()
public void setSortColPlans(java.util.List<LogicalExpressionPlan> sortPlans)
public java.util.List<java.lang.Boolean> getAscendingCols()
public void setAscendingCols(java.util.List<java.lang.Boolean> ascCols)
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-2012 The Apache Software Foundation