org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.plans
Class DotMRPrinter.InnerOperator

java.lang.Object
  extended by org.apache.pig.impl.plan.Operator<PlanVisitor>
      extended by org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.plans.DotMRPrinter.InnerOperator
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Operator>
Enclosing class:
DotMRPrinter

public static class DotMRPrinter.InnerOperator
extends Operator<PlanVisitor>

Helper class to represent the relationship of map, reduce and combine phases in an MR operator.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.pig.impl.plan.Operator
mKey
 
Constructor Summary
DotMRPrinter.InnerOperator(PhysicalPlan plan, String name)
           
 
Method Summary
 PhysicalPlan getPlan()
           
 int hashCode()
          Needed to ensure that the list iterators' outputs are deterministic.
 String name()
           
 boolean supportsMultipleInputs()
          Indicates whether this operator supports multiple inputs.
 boolean supportsMultipleOutputs()
          Indicates whether this operator supports multiple outputs.
 void visit(PlanVisitor v)
          Visit this node with the provided visitor.
 
Methods inherited from class org.apache.pig.impl.plan.Operator
clone, compareTo, equals, getOperatorKey, getProjectionMap, regenerateProjectionMap, rewire, toString, unsetProjectionMap
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DotMRPrinter.InnerOperator

public DotMRPrinter.InnerOperator(PhysicalPlan plan,
                                  String name)
Method Detail

visit

public void visit(PlanVisitor v)
Description copied from class: Operator
Visit this node with the provided visitor. This should only be called by the visitor class itself, never directly.

Specified by:
visit in class Operator<PlanVisitor>
Parameters:
v - Visitor to visit with.

supportsMultipleInputs

public boolean supportsMultipleInputs()
Description copied from class: Operator
Indicates whether this operator supports multiple inputs.

Specified by:
supportsMultipleInputs in class Operator<PlanVisitor>
Returns:
true if it does, otherwise false.

supportsMultipleOutputs

public boolean supportsMultipleOutputs()
Description copied from class: Operator
Indicates whether this operator supports multiple outputs.

Specified by:
supportsMultipleOutputs in class Operator<PlanVisitor>
Returns:
true if it does, otherwise false.

name

public String name()
Specified by:
name in class Operator<PlanVisitor>

getPlan

public PhysicalPlan getPlan()

hashCode

public int hashCode()
Description copied from class: Operator
Needed to ensure that the list iterators' outputs are deterministic. Without this we are totally at object id's mercy.

Overrides:
hashCode in class Operator<PlanVisitor>


Copyright © 2007-2012 The Apache Software Foundation