public class LOLimit extends LogicalRelationalOperator
alias, lineNum, mCustomPartitioner, mPinnedOptions, requestedParallelism, schema
Constructor and Description |
---|
LOLimit(LogicalPlan plan) |
LOLimit(LogicalPlan plan,
LogicalExpressionPlan limitPlan) |
LOLimit(LogicalPlan plan,
long limit) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PlanVisitor v)
Accept a visitor at this node in the graph.
|
Operator |
getInput(LogicalPlan plan) |
long |
getLimit() |
LogicalExpressionPlan |
getLimitPlan() |
LogicalSchema |
getSchema()
Get the schema for the output of this relational operator.
|
boolean |
isEqual(Operator other)
This is like a shallow equals comparison.
|
void |
setLimit(long limit) |
void |
setLimitPlan(LogicalExpressionPlan mlimitPlan) |
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 LOLimit(LogicalPlan plan)
public LOLimit(LogicalPlan plan, long limit)
public LOLimit(LogicalPlan plan, LogicalExpressionPlan limitPlan)
public long getLimit()
public void setLimit(long limit)
public LogicalExpressionPlan getLimitPlan()
public void setLimitPlan(LogicalExpressionPlan mlimitPlan)
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 boolean isEqual(Operator other) throws FrontendException
Operator
isEqual
in class Operator
FrontendException
public Operator getInput(LogicalPlan plan)
Copyright © 2007-2017 The Apache Software Foundation