org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators
Class POLocalRearrangeForIllustrate

java.lang.Object
  extended by org.apache.pig.impl.plan.Operator<PhyPlanVisitor>
      extended by org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator
          extended by org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLocalRearrange
              extended by org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLocalRearrangeForIllustrate
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Operator>

public class POLocalRearrangeForIllustrate
extends POLocalRearrange

The local rearrange operator is a part of the co-group implementation. It has an embedded physical plan that generates tuples of the form (grpKey,(indxed inp Tuple)).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLocalRearrange
index, isCross, keyType, leafOps, mFakeTuple, mIsDistinct, mTupleFactory, plans
 
Fields inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator
dummyBag, dummyBool, dummyDBA, dummyDouble, dummyFloat, dummyInt, dummyLong, dummyMap, dummyString, dummyTuple, input, inputAttached, inputs, lineageTracer, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, resultType
 
Fields inherited from class org.apache.pig.impl.plan.Operator
mKey
 
Constructor Summary
POLocalRearrangeForIllustrate(OperatorKey k)
           
POLocalRearrangeForIllustrate(OperatorKey k, int rp)
           
POLocalRearrangeForIllustrate(OperatorKey k, int rp, List<PhysicalOperator> inp)
           
POLocalRearrangeForIllustrate(OperatorKey k, List<PhysicalOperator> inp)
           
 
Method Summary
 POLocalRearrangeForIllustrate clone()
          Make a deep copy of this operator.
protected  Tuple constructLROutput(List<Result> resLst, Tuple value)
           
 String name()
           
 void visit(PhyPlanVisitor v)
          Visit this node with the provided visitor.
 
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POLocalRearrange
attachInput, getIndex, getKeyType, getNext, getPlans, getProjectedColsMap, isCross, isDistinct, isKeyTuple, isProjectStar, setCross, setDistinct, setIndex, setKeyType, setMultiQueryIndex, setPlans, setPlansFromCombiner, supportsMultipleInputs, supportsMultipleOutputs
 
Methods inherited from class org.apache.pig.backend.hadoop.executionengine.physicalLayer.PhysicalOperator
cloneHelper, detachInput, getInputs, getLogger, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getPigLogger, getRequestedParallelism, getResultType, isBlocking, isInputAttached, processInput, reset, setInputs, setLineageTracer, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType
 
Methods inherited from class org.apache.pig.impl.plan.Operator
compareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, toString, unsetProjectionMap
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

POLocalRearrangeForIllustrate

public POLocalRearrangeForIllustrate(OperatorKey k)

POLocalRearrangeForIllustrate

public POLocalRearrangeForIllustrate(OperatorKey k,
                                     int rp)

POLocalRearrangeForIllustrate

public POLocalRearrangeForIllustrate(OperatorKey k,
                                     List<PhysicalOperator> inp)

POLocalRearrangeForIllustrate

public POLocalRearrangeForIllustrate(OperatorKey k,
                                     int rp,
                                     List<PhysicalOperator> inp)
Method Detail

visit

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

Overrides:
visit in class POLocalRearrange
Parameters:
v - Visitor to visit with.
Throws:
VisitorException - if the visitor has a problem.

name

public String name()
Overrides:
name in class POLocalRearrange

constructLROutput

protected Tuple constructLROutput(List<Result> resLst,
                                  Tuple value)
                           throws ExecException
Overrides:
constructLROutput in class POLocalRearrange
Throws:
ExecException

clone

public POLocalRearrangeForIllustrate clone()
                                    throws CloneNotSupportedException
Make a deep copy of this operator.

Overrides:
clone in class POLocalRearrange
Throws:
CloneNotSupportedException
See Also:
Do not use the clone method directly. Operators are cloned when logical plans are cloned using {@link LogicalPlanCloner}


Copyright © ${year} The Apache Software Foundation