public class POValueOutputTez extends PhysicalOperator implements TezOutput, TezTaskConfigurable
| Modifier and Type | Class and Description |
|---|---|
static class |
POValueOutputTez.EmptyWritable |
PhysicalOperator.OriginalLocation| Modifier and Type | Field and Description |
|---|---|
static POValueOutputTez.EmptyWritable |
EMPTY_KEY |
alias, illustrator, input, inputAttached, inputs, lineageTracer, mBagFactory, mTupleFactory, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType| Constructor and Description |
|---|
POValueOutputTez(OperatorKey k) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOutputKey(String outputKey) |
void |
attachOutputs(Map<String,org.apache.tez.runtime.api.LogicalOutput> outputs,
org.apache.hadoop.conf.Configuration conf) |
boolean |
containsOutputKey(String outputKey) |
Result |
getNextTuple() |
String[] |
getTezOutputs() |
Tuple |
illustratorMarkup(Object in,
Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
void |
initialize(org.apache.tez.runtime.api.ProcessorContext processorContext) |
boolean |
isScalarOutput() |
boolean |
isTaskIndexWithRecordIndexAsKey() |
String |
name() |
void |
removeOutputKey(String outputKey) |
void |
replaceOutput(String oldOutputKey,
String newOutputKey) |
void |
setScalarOutput(boolean scalarOutput) |
void |
setTaskIndexWithRecordIndexAsKey(boolean taskIndexWithRecordIndexAsKey) |
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, 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 static POValueOutputTez.EmptyWritable EMPTY_KEY
public POValueOutputTez(OperatorKey k)
public boolean isScalarOutput()
public void setScalarOutput(boolean scalarOutput)
public boolean isTaskIndexWithRecordIndexAsKey()
public void setTaskIndexWithRecordIndexAsKey(boolean taskIndexWithRecordIndexAsKey)
public void initialize(org.apache.tez.runtime.api.ProcessorContext processorContext)
throws ExecException
initialize in interface TezTaskConfigurableExecExceptionpublic String[] getTezOutputs()
getTezOutputs in interface TezOutputpublic void replaceOutput(String oldOutputKey, String newOutputKey)
replaceOutput in interface TezOutputpublic void attachOutputs(Map<String,org.apache.tez.runtime.api.LogicalOutput> outputs, org.apache.hadoop.conf.Configuration conf) throws ExecException
attachOutputs in interface TezOutputExecExceptionpublic void addOutputKey(String outputKey)
public void removeOutputKey(String outputKey)
public boolean containsOutputKey(String outputKey)
public Result getNextTuple() throws ExecException
getNextTuple in class PhysicalOperatorExecExceptionpublic Tuple illustratorMarkup(Object in, Object out, int eqClassIndex)
IllustrableillustratorMarkup in interface Illustrablein - input tupleout - output tuple before wrapped in ExampleTupleeqClassIndex - index into equivalence classes in illustratorpublic void visit(PhyPlanVisitor v) throws VisitorException
Operatorvisit in class PhysicalOperatorv - Visitor to visit with.VisitorException - if the visitor has a problem.public boolean supportsMultipleInputs()
OperatorsupportsMultipleInputs in class Operator<PhyPlanVisitor>public boolean supportsMultipleOutputs()
OperatorsupportsMultipleOutputs in class Operator<PhyPlanVisitor>public String name()
name in class Operator<PhyPlanVisitor>Copyright © 2007-2017 The Apache Software Foundation