public class POFRJoin extends PhysicalOperator
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | POFRJoin.TupleToMapKey | 
PhysicalOperator.OriginalLocation| Modifier and Type | Field and Description | 
|---|---|
| protected ConstantExpression[] | constExps | 
| protected Tuple | dumTup | 
| protected POForEach | fe | 
| protected int | fragment | 
| protected Schema[] | inputSchemas | 
| protected boolean | isLeftOuterJoin | 
| protected Schema[] | keySchemas | 
| protected List<List<Byte>> | keyTypes | 
| protected POLocalRearrange[] | LRs | 
| protected DataBag | nullBag | 
| protected List<List<PhysicalPlan>> | phyPlanLists | 
| protected boolean | processingPlan | 
| protected FileSpec[] | replFiles | 
| protected List<Map<? extends Object,? extends List<Tuple>>> | replicates | 
| protected boolean | setUp | 
alias, illustrator, input, inputAttached, inputs, lineageTracer, mBagFactory, mTupleFactory, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType| Constructor and Description | 
|---|
| POFRJoin(OperatorKey k,
        int rp,
        List<PhysicalOperator> inp,
        List<List<PhysicalPlan>> ppLists,
        List<List<Byte>> keyTypes,
        FileSpec[] replFiles,
        int fragment,
        boolean isLeftOuter,
        Tuple nullTuple) | 
| POFRJoin(OperatorKey k,
        int rp,
        List<PhysicalOperator> inp,
        List<List<PhysicalPlan>> ppLists,
        List<List<Byte>> keyTypes,
        FileSpec[] replFiles,
        int fragment,
        boolean isLeftOuter,
        Tuple nullTuple,
        Schema[] inputSchemas,
        Schema[] keySchemas) | 
| POFRJoin(POFRJoin copy) | 
| Modifier and Type | Method and Description | 
|---|---|
| POFRJoin | clone()Make a copy of this operator. | 
| int | getFragment() | 
| List<List<PhysicalPlan>> | getJoinPlans() | 
| POLocalRearrange[] | getLRs() | 
| Result | getNextTuple() | 
| FileSpec[] | getReplFiles() | 
| protected Tuple | getValueTuple(POLocalRearrange lr,
             Tuple tuple) | 
| Tuple | illustratorMarkup(Object in,
                 Object out,
                 int eqClassIndex)input tuple mark up to be illustrate-able | 
| protected boolean | isKeyNull(Object key) | 
| boolean | isLeftOuterJoin() | 
| String | name() | 
| void | setFragment(int fragment) | 
| void | setReplFiles(FileSpec[] replFiles) | 
| protected void | setUpHashMap()Builds the HashMaps by reading each replicated input from the DFS using a
 Load operator | 
| boolean | supportsMultipleInputs()Indicates whether this operator supports multiple inputs. | 
| boolean | supportsMultipleOutputs()Indicates whether this operator supports multiple outputs. | 
| void | visit(PhyPlanVisitor v)Visit this node with the provided visitor. | 
addOriginalLocation, addOriginalLocation, attachInput, cloneHelper, clonePlans, copyAliasFrom, detachInput, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getNextBigDecimal, getNextBigInteger, getNextBoolean, getNextDataBag, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, getNextInteger, getNextLong, getNextMap, getNextString, getOriginalLocations, getParentPlan, getPigLogger, getReporter, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isBlocking, isEndOfAllInput, isInputAttached, processInput, reset, setAccumEnd, setAccumStart, setAccumulative, setIllustrator, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType, staticDataCleanupcompareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, toString, unsetProjectionMapprotected int fragment
protected List<List<PhysicalPlan>> phyPlanLists
protected POLocalRearrange[] LRs
protected FileSpec[] replFiles
protected ConstantExpression[] constExps
protected POForEach fe
protected boolean isLeftOuterJoin
protected DataBag nullBag
protected Schema[] inputSchemas
protected Schema[] keySchemas
protected transient boolean processingPlan
protected transient Tuple dumTup
protected transient boolean setUp
public POFRJoin(OperatorKey k, int rp, List<PhysicalOperator> inp, List<List<PhysicalPlan>> ppLists, List<List<Byte>> keyTypes, FileSpec[] replFiles, int fragment, boolean isLeftOuter, Tuple nullTuple) throws ExecException
ExecExceptionpublic POFRJoin(OperatorKey k, int rp, List<PhysicalOperator> inp, List<List<PhysicalPlan>> ppLists, List<List<Byte>> keyTypes, FileSpec[] replFiles, int fragment, boolean isLeftOuter, Tuple nullTuple, Schema[] inputSchemas, Schema[] keySchemas) throws ExecException
ExecExceptionpublic POFRJoin(POFRJoin copy) throws ExecException
ExecExceptionpublic void visit(PhyPlanVisitor v) throws VisitorException
Operatorvisit in class PhysicalOperatorv - Visitor to visit with.VisitorException - if the visitor has a problem.public String name()
name in class Operator<PhyPlanVisitor>public boolean supportsMultipleInputs()
OperatorsupportsMultipleInputs in class Operator<PhyPlanVisitor>public boolean supportsMultipleOutputs()
OperatorsupportsMultipleOutputs in class Operator<PhyPlanVisitor>public Result getNextTuple() throws ExecException
getNextTuple in class PhysicalOperatorExecExceptionprotected void setUpHashMap()
                     throws ExecException
ExecExceptionprotected boolean isKeyNull(Object key) throws ExecException
ExecExceptionprotected Tuple getValueTuple(POLocalRearrange lr, Tuple tuple) throws ExecException
ExecExceptionpublic List<List<PhysicalPlan>> getJoinPlans()
public POLocalRearrange[] getLRs()
public boolean isLeftOuterJoin()
public int getFragment()
public void setFragment(int fragment)
public FileSpec[] getReplFiles()
public void setReplFiles(FileSpec[] replFiles)
public Tuple illustratorMarkup(Object in, Object out, int eqClassIndex)
Illustrablein - input tupleout - output tuple before wrapped in ExampleTupleeqClassIndex - index into equivalence classes in illustratorpublic POFRJoin clone() throws CloneNotSupportedException
PhysicalOperatorCopyright © 2007-2017 The Apache Software Foundation