|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.impl.plan.Operator<LOVisitor>
org.apache.pig.impl.logicalLayer.LogicalOperator
org.apache.pig.impl.logicalLayer.LOFRJoin
public class LOFRJoin
This is the logical operator for the Fragment Replicate Join It holds the user specified information and is responsible for the schema computation. This mimics the LOCogroup operator except the schema computation.
Field Summary |
---|
Fields inherited from class org.apache.pig.impl.logicalLayer.LogicalOperator |
---|
mAlias, mIsSchemaComputed, mPlan, mRequestedParallelism, mSchema, mType |
Fields inherited from class org.apache.pig.impl.plan.Operator |
---|
mKey |
Constructor Summary | |
---|---|
LOFRJoin(LogicalPlan plan,
OperatorKey k,
MultiMap<LogicalOperator,LogicalPlan> joinColPlans,
boolean[] isInner,
LogicalOperator fragOp)
|
Method Summary | |
---|---|
byte |
getAtomicJoinColType()
|
LogicalOperator |
getFragOp()
|
List<LogicalOperator> |
getInputs()
|
MultiMap<LogicalOperator,LogicalPlan> |
getJoinColPlans()
|
ProjectionMap |
getProjectionMap()
Produce a map describing how this operator modifies its projection. |
List<RequiredFields> |
getRequiredFields()
Get a list of fields that this operator requires. |
Schema |
getSchema()
Get a copy of the schema for the output of this operator. |
Schema |
getTupleJoinColSchema()
|
boolean |
isTupleJoinCol()
|
String |
name()
|
void |
setFragOp(LogicalOperator fragOp)
|
boolean |
supportsMultipleInputs()
Indicates whether this operator supports multiple inputs. |
void |
switchJoinColPlanOp(LogicalOperator oldOp,
LogicalOperator newOp)
|
void |
unsetSchema()
Unset the schema as if it had not been calculated. |
void |
visit(LOVisitor v)
Visit this node with the provided visitor. |
Methods inherited from class org.apache.pig.impl.logicalLayer.LogicalOperator |
---|
clone, forceSchema, getAlias, getOperatorKey, getPlan, getRequestedParallelism, getType, reconcileSchema, regenerateSchema, setAlias, setCanonicalNames, setPlan, setRequestedParallelism, setSchema, setSchemaComputed, setType, supportsMultipleOutputs, toString |
Methods inherited from class org.apache.pig.impl.plan.Operator |
---|
compareTo, equals, hashCode |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LOFRJoin(LogicalPlan plan, OperatorKey k, MultiMap<LogicalOperator,LogicalPlan> joinColPlans, boolean[] isInner, LogicalOperator fragOp)
Method Detail |
---|
public Schema getSchema() throws FrontendException
LogicalOperator
getSchema
in class LogicalOperator
FrontendException
public MultiMap<LogicalOperator,LogicalPlan> getJoinColPlans()
public void switchJoinColPlanOp(LogicalOperator oldOp, LogicalOperator newOp)
public void unsetSchema() throws VisitorException
LogicalOperator
unsetSchema
in class LogicalOperator
VisitorException
public List<LogicalOperator> getInputs()
public void visit(LOVisitor v) throws VisitorException
LogicalOperator
visit
in class LogicalOperator
v
- Visitor to visit with.
VisitorException
- if the visitor has a problem.public String name()
name
in class Operator<LOVisitor>
public boolean supportsMultipleInputs()
Operator
supportsMultipleInputs
in class Operator<LOVisitor>
public LogicalOperator getFragOp()
public void setFragOp(LogicalOperator fragOp)
public boolean isTupleJoinCol()
public byte getAtomicJoinColType() throws FrontendException
FrontendException
public Schema getTupleJoinColSchema() throws FrontendException
FrontendException
public ProjectionMap getProjectionMap()
LogicalOperator
getProjectionMap
in class LogicalOperator
public List<RequiredFields> getRequiredFields()
LogicalOperator
getRequiredFields
in class LogicalOperator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |