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 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<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<Integer,LogicalExpressionPlan> |
getExpressionPlans()
Get all of the expressions plans that are in this join.
|
Collection<LogicalExpressionPlan> |
getExpressionPlanValues() |
boolean[] |
getInnerFlags() |
List<Operator> |
getInputs(LogicalPlan plan) |
Collection<LogicalExpressionPlan> |
getJoinPlan(int inputIndex) |
LOJoin.JOINTYPE |
getJoinType() |
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<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 Integer OPTION_JOIN
public LOJoin(LogicalPlan plan)
public LOJoin(LogicalPlan plan, MultiMap<Integer,LogicalExpressionPlan> joinPlans, LOJoin.JOINTYPE jt, boolean[] isInner)
public void setJoinPlans(MultiMap<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 Collection<LogicalExpressionPlan> getJoinPlan(int inputIndex)
public MultiMap<Integer,LogicalExpressionPlan> getExpressionPlans()
public 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 List<Operator> getInputs(LogicalPlan plan)
Copyright © 2007-2017 The Apache Software Foundation