public class POMergeJoin extends PhysicalOperator
| Modifier and Type | Class and Description |
|---|---|
static class |
POMergeJoin.TuplesToSchemaTupleList
This is a class that extends ArrayList, making it easy to provide on the fly conversion
from Tuple to SchemaTuple.
|
PhysicalOperator.OriginalLocationalias, illustrator, input, inputAttached, inputs, lineageTracer, mBagFactory, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType| Constructor and Description |
|---|
POMergeJoin(OperatorKey k,
int rp,
List<PhysicalOperator> inp,
MultiMap<PhysicalOperator,PhysicalPlan> inpPlans,
List<List<Byte>> keyTypes,
LOJoin.JOINTYPE joinType,
Schema leftInputSchema,
Schema rightInputSchema,
Schema mergedInputSchema) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIndexFile() |
List<PhysicalPlan> |
getInnerPlansOf(int index) |
LOJoin.JOINTYPE |
getJoinType() |
POLocalRearrange[] |
getLRs() |
Result |
getNextTuple() |
String |
getSignature() |
Tuple |
illustratorMarkup(Object in,
Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
boolean |
isEndOfInput() |
String |
name() |
void |
setEndOfInput(boolean isEndOfInput) |
void |
setIndexFile(String indexFile) |
void |
setRightInputFileName(String rightInputFileName) |
void |
setRightLoaderFuncSpec(FuncSpec rightLoaderFuncSpec) |
void |
setSignature(String signature) |
void |
setupRightPipeline(PhysicalPlan rightPipeline) |
boolean |
supportsMultipleInputs()
Indicates whether this operator supports multiple inputs.
|
boolean |
supportsMultipleOutputs()
Indicates whether this operator supports multiple outputs.
|
void |
throwProcessingException(boolean withCauseException,
Exception e) |
void |
visit(PhyPlanVisitor v)
Visit this node with the provided visitor.
|
addOriginalLocation, addOriginalLocation, attachInput, clone, 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, unsetProjectionMappublic POMergeJoin(OperatorKey k, int rp, List<PhysicalOperator> inp, MultiMap<PhysicalOperator,PhysicalPlan> inpPlans, List<List<Byte>> keyTypes, LOJoin.JOINTYPE joinType, Schema leftInputSchema, Schema rightInputSchema, Schema mergedInputSchema) throws PlanException
k - rp - inp - inpPlans - there can only be 2 inputs each being a ListPlanExceptionpublic boolean isEndOfInput()
public void setEndOfInput(boolean isEndOfInput)
public Result getNextTuple() throws ExecException
getNextTuple in class PhysicalOperatorExecExceptionpublic void throwProcessingException(boolean withCauseException,
Exception e)
throws ExecException
ExecExceptionpublic void setupRightPipeline(PhysicalPlan rightPipeline) throws FrontendException
FrontendExceptionpublic void setRightLoaderFuncSpec(FuncSpec rightLoaderFuncSpec)
public List<PhysicalPlan> getInnerPlansOf(int index)
public 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 void setRightInputFileName(String rightInputFileName)
rightInputFileName - the rightInputFileName to setpublic String getSignature()
public void setSignature(String signature)
public void setIndexFile(String indexFile)
public String getIndexFile()
public Tuple illustratorMarkup(Object in, Object out, int eqClassIndex)
Illustrablein - input tupleout - output tuple before wrapped in ExampleTupleeqClassIndex - index into equivalence classes in illustratorpublic LOJoin.JOINTYPE getJoinType()
public POLocalRearrange[] getLRs()
Copyright © 2007-2017 The Apache Software Foundation