org.apache.pig.newplan.logical.relational
Class LOForEach
java.lang.Object
org.apache.pig.newplan.Operator
org.apache.pig.newplan.logical.relational.LogicalRelationalOperator
org.apache.pig.newplan.logical.relational.LOForEach
public class LOForEach
- extends LogicalRelationalOperator
Methods inherited from class org.apache.pig.newplan.logical.relational.LogicalRelationalOperator |
checkEquality, fixDuplicateUids, getAlias, getCustomPartitioner, getLineNumber, getRequestedParallelism, isPinnedOption, neverUseForRealSetSchema, pinOption, resetSchema, resetUid, setAlias, setCustomPartitioner, setRequestedParallelism, setSchema, toString |
LOForEach
public LOForEach(OperatorPlan plan)
getInnerPlan
public LogicalPlan getInnerPlan()
setInnerPlan
public void setInnerPlan(LogicalPlan p)
isEqual
public boolean isEqual(Operator other)
throws FrontendException
- Description copied from class:
Operator
- This is like a shallow equals comparison.
It returns true if two operators have equivalent properties even if they are
different objects. Here properties mean equivalent plan and equivalent name.
- Specified by:
isEqual
in class Operator
- Returns:
- true if two object have equivalent properties, else false
- Throws:
FrontendException
getSchema
public LogicalSchema getSchema()
throws FrontendException
- Description copied from class:
LogicalRelationalOperator
- Get the schema for the output of this relational operator. This does
not merely return the schema variable. If schema is not yet set, this
will attempt to construct it. Therefore it is abstract since each
operator will need to construct its schema differently.
- Specified by:
getSchema
in class LogicalRelationalOperator
- Returns:
- the schema
- Throws:
FrontendException
accept
public void accept(PlanVisitor v)
throws FrontendException
- Description copied from class:
Operator
- Accept a visitor at this node in the graph.
- Specified by:
accept
in class Operator
- Parameters:
v
- Visitor to accept.
- Throws:
FrontendException
findReacheableInnerLoadFromBoundaryProject
public static Pair<List<LOInnerLoad>,Boolean> findReacheableInnerLoadFromBoundaryProject(ProjectExpression project)
throws FrontendException
- Throws:
FrontendException
dumpNestedSchema
public LogicalSchema dumpNestedSchema(String alias,
String nestedAlias)
throws FrontendException
- Throws:
FrontendException
Copyright © 2007-2012 The Apache Software Foundation