public class LOUnion extends LogicalRelationalOperator
alias, lineNum, mCustomPartitioner, mPinnedOptions, requestedParallelism, schema
Constructor and Description |
---|
LOUnion(OperatorPlan plan) |
LOUnion(OperatorPlan plan,
boolean onSchema) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PlanVisitor v)
Accept a visitor at this node in the graph.
|
java.util.List<Operator> |
getInputs() |
java.util.List<Operator> |
getInputs(LogicalPlan plan) |
java.util.Set<java.lang.Long> |
getInputUids(long uid) |
LogicalSchema |
getSchema()
Get the schema for the output of this relational operator.
|
boolean |
isEqual(Operator other)
This is like a shallow equals comparison.
|
boolean |
isOnSchema() |
void |
resetUid()
Erase all cached uid, regenerate uid when we regenerating schema.
|
void |
setUnionOnSchema(boolean flag) |
checkEquality, fixDuplicateUids, getAlias, getCustomPartitioner, getLineNumber, getRequestedParallelism, isPinnedOption, neverUseForRealSetSchema, pinOption, resetSchema, setAlias, setCustomPartitioner, setRequestedParallelism, setSchema, toString
annotate, getAnnotation, getLocation, getName, getPlan, removeAnnotation, setLocation, setPlan
public LOUnion(OperatorPlan plan)
public LOUnion(OperatorPlan plan, boolean onSchema)
public boolean isOnSchema()
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 java.util.Set<java.lang.Long> getInputUids(long uid)
public void resetUid()
LogicalRelationalOperator
resetUid
in class LogicalRelationalOperator
public java.util.List<Operator> getInputs()
public java.util.List<Operator> getInputs(LogicalPlan plan)
public void setUnionOnSchema(boolean flag)
Copyright © 2007-2017 The Apache Software Foundation