public class LOJoin extends LogicalRelationalOperator
Modifier and Type | Class and Description |
---|---|
static class |
LOJoin.JOINTYPE
Enum for the type of join
|
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
OPTION_JOIN
static constant to refer to the option of selecting a join type
|
alias, lineNum, mCustomPartitioner, mPinnedOptions, requestedParallelism, schema
Constructor and Description |
---|
LOJoin(LogicalPlan plan) |
LOJoin(LogicalPlan plan,
MultiMap<java.lang.Integer,LogicalExpressionPlan> joinPlans,
LOJoin.JOINTYPE jt,
boolean[] isInner) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PlanVisitor v)
Accept a visitor at this node in the graph.
|
MultiMap<java.lang.Integer,LogicalExpressionPlan> |
getExpressionPlans()
Get all of the expressions plans that are in this join.
|
java.util.Collection<LogicalExpressionPlan> |
getExpressionPlanValues() |
boolean[] |
getInnerFlags() |
java.util.List<Operator> |
getInputs(LogicalPlan plan) |
java.util.Collection<LogicalExpressionPlan> |
getJoinPlan(int inputIndex) |
LOJoin.JOINTYPE |
getJoinType() |
java.lang.String |
getName() |
LogicalSchema |
getSchema()
Get the schema for the output of this relational operator.
|
boolean |
isEqual(Operator other)
This is like a shallow equals comparison.
|
boolean |
isInner(int inputIndex) |
void |
resetJoinType() |
void |
setInnerFlags(boolean[] isInner) |
void |
setJoinPlans(MultiMap<java.lang.Integer,LogicalExpressionPlan> joinPlans) |
void |
setJoinType(LOJoin.JOINTYPE jt) |
checkEquality, fixDuplicateUids, getAlias, getCustomPartitioner, getLineNumber, getRequestedParallelism, isPinnedOption, neverUseForRealSetSchema, pinOption, resetSchema, resetUid, setAlias, setCustomPartitioner, setRequestedParallelism, setSchema, toString
annotate, getAnnotation, getLocation, getPlan, removeAnnotation, setLocation, setPlan
public static final java.lang.Integer OPTION_JOIN
public LOJoin(LogicalPlan plan)
public LOJoin(LogicalPlan plan, MultiMap<java.lang.Integer,LogicalExpressionPlan> joinPlans, LOJoin.JOINTYPE jt, boolean[] isInner)
public void setJoinPlans(MultiMap<java.lang.Integer,LogicalExpressionPlan> joinPlans)
public void setInnerFlags(boolean[] isInner)
public void setJoinType(LOJoin.JOINTYPE jt)
public boolean isInner(int inputIndex)
public boolean[] getInnerFlags()
public LOJoin.JOINTYPE getJoinType()
public void resetJoinType()
public java.util.Collection<LogicalExpressionPlan> getJoinPlan(int inputIndex)
public MultiMap<java.lang.Integer,LogicalExpressionPlan> getExpressionPlans()
public java.util.Collection<LogicalExpressionPlan> getExpressionPlanValues()
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.List<Operator> getInputs(LogicalPlan plan)
Copyright © 2007-2017 The Apache Software Foundation