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 java.util.List<java.util.List<java.lang.Byte>> |
keyTypes |
protected POLocalRearrange[] |
LRs |
protected DataBag |
nullBag |
protected java.util.List<java.util.List<PhysicalPlan>> |
phyPlanLists |
protected boolean |
processingPlan |
protected FileSpec[] |
replFiles |
protected java.util.List<java.util.Map<? extends java.lang.Object,? extends java.util.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,
java.util.List<PhysicalOperator> inp,
java.util.List<java.util.List<PhysicalPlan>> ppLists,
java.util.List<java.util.List<java.lang.Byte>> keyTypes,
FileSpec[] replFiles,
int fragment,
boolean isLeftOuter,
Tuple nullTuple) |
POFRJoin(OperatorKey k,
int rp,
java.util.List<PhysicalOperator> inp,
java.util.List<java.util.List<PhysicalPlan>> ppLists,
java.util.List<java.util.List<java.lang.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() |
java.util.List<java.util.List<PhysicalPlan>> |
getJoinPlans() |
POLocalRearrange[] |
getLRs() |
Result |
getNextTuple() |
FileSpec[] |
getReplFiles() |
protected Tuple |
getValueTuple(POLocalRearrange lr,
Tuple tuple) |
Tuple |
illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
protected boolean |
isKeyNull(java.lang.Object key) |
boolean |
isLeftOuterJoin() |
java.lang.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 java.util.List<java.util.List<PhysicalPlan>> phyPlanLists
protected java.util.List<java.util.List<java.lang.Byte>> keyTypes
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 java.util.List<java.util.Map<? extends java.lang.Object,? extends java.util.List<Tuple>>> replicates
protected transient boolean processingPlan
protected transient Tuple dumTup
protected transient boolean setUp
public POFRJoin(OperatorKey k, int rp, java.util.List<PhysicalOperator> inp, java.util.List<java.util.List<PhysicalPlan>> ppLists, java.util.List<java.util.List<java.lang.Byte>> keyTypes, FileSpec[] replFiles, int fragment, boolean isLeftOuter, Tuple nullTuple) throws ExecException
ExecExceptionpublic POFRJoin(OperatorKey k, int rp, java.util.List<PhysicalOperator> inp, java.util.List<java.util.List<PhysicalPlan>> ppLists, java.util.List<java.util.List<java.lang.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 java.lang.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(java.lang.Object key)
throws ExecException
ExecExceptionprotected Tuple getValueTuple(POLocalRearrange lr, Tuple tuple) throws ExecException
ExecExceptionpublic java.util.List<java.util.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(java.lang.Object in, java.lang.Object out, int eqClassIndex)
Illustrablein - input tupleout - output tuple before wrapped in ExampleTupleeqClassIndex - index into equivalence classes in illustratorpublic POFRJoin clone() throws java.lang.CloneNotSupportedException
PhysicalOperatorclone in class PhysicalOperatorjava.lang.CloneNotSupportedExceptionDo not use the clone method directly. Operators are cloned when logical plans
are cloned using {@link LogicalPlanCloner}Copyright © 2007-2025 The Apache Software Foundation