org.apache.pig.experimental.logical.relational
Class LOInnerLoad
java.lang.Object
org.apache.pig.experimental.plan.Operator
org.apache.pig.experimental.logical.relational.LogicalRelationalOperator
org.apache.pig.experimental.logical.relational.LOInnerLoad
public class LOInnerLoad
- extends LogicalRelationalOperator
Operator to map the data into the inner plan of LOForEach
It can only be used in the inner plan of LOForEach
LOInnerLoad
public LOInnerLoad(OperatorPlan plan,
LOForEach foreach,
int colNum)
getSchema
public LogicalSchema getSchema()
- 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
getProjection
public ProjectExpression getProjection()
isEqual
public boolean isEqual(Operator other)
- 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
accept
public void accept(PlanVisitor v)
throws IOException
- 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:
IOException
getColNum
public int getColNum()
getLOForEach
public LOForEach getLOForEach()
- Get the LOForEach operator that contains this operator as part of inner plan
- Returns:
- the LOForEach operator
Copyright © ${year} The Apache Software Foundation