|
||||||||||
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.LOSplit
public class LOSplit
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 | |
---|---|
LOSplit(LogicalPlan plan,
OperatorKey key,
ArrayList<LogicalOperator> outputs)
|
Method Summary | |
---|---|
void |
addOutput(LogicalOperator lOp)
|
protected Object |
clone()
|
List<LogicalOperator> |
getOutputs()
|
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. |
byte |
getType()
Get the type of this operator. |
String |
name()
|
void |
setOutputs(ArrayList<LogicalOperator> outputs)
|
boolean |
supportsMultipleInputs()
Indicates whether this operator supports multiple inputs. |
boolean |
supportsMultipleOutputs()
Indicates whether this operator supports multiple outputs. |
void |
visit(LOVisitor v)
Visit this node with the provided visitor. |
Methods inherited from class org.apache.pig.impl.logicalLayer.LogicalOperator |
---|
forceSchema, getAlias, getOperatorKey, getPlan, getRequestedParallelism, reconcileSchema, regenerateSchema, setAlias, setCanonicalNames, setPlan, setRequestedParallelism, setSchema, setSchemaComputed, setType, toString, unsetSchema |
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 LOSplit(LogicalPlan plan, OperatorKey key, ArrayList<LogicalOperator> outputs)
plan
- LogicalPlan this operator is a part of.key
- OperatorKey for this operatoroutputs
- list of aliases that are the output of the splitMethod Detail |
---|
public List<LogicalOperator> getOutputs()
public void setOutputs(ArrayList<LogicalOperator> outputs)
public void addOutput(LogicalOperator lOp)
public String name()
name
in class Operator<LOVisitor>
public Schema getSchema() throws FrontendException
LogicalOperator
getSchema
in class LogicalOperator
FrontendException
public boolean supportsMultipleInputs()
Operator
supportsMultipleInputs
in class Operator<LOVisitor>
public boolean supportsMultipleOutputs()
Operator
supportsMultipleOutputs
in class LogicalOperator
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 byte getType()
LogicalOperator
getType
in class LogicalOperator
protected Object clone() throws CloneNotSupportedException
clone
in class LogicalOperator
CloneNotSupportedException
Do not use the clone method directly. Operators are cloned when logical plans
are cloned using {@link LogicalPlanCloner}
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 |