public class POShuffleTezLoad extends POPackage implements TezInput
POPackage.POPackageTupleBufferPhysicalOperator.OriginalLocation| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
inputKeys |
key, keyWritable, mBagFactory, mTupleFactory, numInputs, pkgralias, illustrator, input, inputAttached, lineageTracer, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType| Constructor and Description |
|---|
POShuffleTezLoad(POPackage pack) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInputKey(String inputKey) |
void |
addInputsToSkip(Set<String> inputsToSkip)
Add to the list of inputs to skip download if already available in vertex cache
|
void |
attachInputs(Map<String,org.apache.tez.runtime.api.LogicalInput> inputs,
org.apache.hadoop.conf.Configuration conf) |
Result |
getNextTuple()
From the inputs, constructs the output tuple for this co-group in the
required format which is (key, {bag of tuples from input 1}, {bag of
tuples from input 2}, ...)
|
String[] |
getTezInputs() |
boolean |
isSkewedJoin() |
void |
replaceInput(String oldInputKey,
String newInputKey) |
void |
setInputKeys(List<String> inputKeys) |
void |
setSkewedJoins(boolean isSkewedJoin) |
boolean |
supportsMultipleInputs()
Indicates whether this operator supports multiple inputs.
|
attachInput, clone, detachInput, getNumInps, getPkgr, illustratorMarkup, name, numberOfEquivalenceClasses, setIllustrator, setNumInps, setPkgr, supportsMultipleOutputs, visitaddOriginalLocation, addOriginalLocation, attachInput, cloneHelper, copyAliasFrom, getAlias, getAliasString, getIllustrator, getInputs, getLogger, getNext, getNextBigDecimal, getNextBigInteger, getNextBoolean, getNextDataBag, getNextDataByteArray, getNextDateTime, getNextDouble, getNextFloat, getNextInteger, getNextLong, getNextMap, getNextString, getOriginalLocations, getPigLogger, getReporter, getRequestedParallelism, getResultType, isAccumStarted, isAccumulative, isBlocking, isInputAttached, processInput, reset, setAccumEnd, setAccumStart, setAccumulative, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType, staticDataCleanupcompareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, toString, unsetProjectionMappublic POShuffleTezLoad(POPackage pack)
public String[] getTezInputs()
getTezInputs in interface TezInputpublic void replaceInput(String oldInputKey, String newInputKey)
replaceInput in interface TezInputpublic void addInputsToSkip(Set<String> inputsToSkip)
TezInputaddInputsToSkip in interface TezInputpublic void attachInputs(Map<String,org.apache.tez.runtime.api.LogicalInput> inputs, org.apache.hadoop.conf.Configuration conf) throws ExecException
attachInputs in interface TezInputExecExceptionpublic Result getNextTuple() throws ExecException
POPackagegetNextTuple in class POPackageExecExceptionpublic void addInputKey(String inputKey)
public void setSkewedJoins(boolean isSkewedJoin)
public boolean isSkewedJoin()
public boolean supportsMultipleInputs()
OperatorsupportsMultipleInputs in class POPackageCopyright © 2007-2012 The Apache Software Foundation