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, 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(java.lang.String outputKey) |
void |
attachOutputs(java.util.Map<java.lang.String,LogicalOutput> outputs,
org.apache.hadoop.conf.Configuration conf) |
boolean |
containsOutputKey(java.lang.String outputKey) |
Result |
getNextTuple() |
java.lang.String[] |
getTezOutputs() |
Tuple |
illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex)
input tuple mark up to be illustrate-able
|
void |
initialize(ProcessorContext processorContext) |
boolean |
isTaskIndexWithRecordIndexAsKey() |
java.lang.String |
name() |
void |
removeOutputKey(java.lang.String outputKey) |
void |
replaceOutput(java.lang.String oldOutputKey,
java.lang.String newOutputKey) |
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, copyAliasFrom, detachInput, 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, setIllustrator, setInputs, setParentPlan, setPigLogger, setReporter, setRequestedParallelism, setResultType, staticDataCleanup
compareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, toString, unsetProjectionMap
public static POValueOutputTez.EmptyWritable EMPTY_KEY
public POValueOutputTez(OperatorKey k)
public boolean isTaskIndexWithRecordIndexAsKey()
public void setTaskIndexWithRecordIndexAsKey(boolean taskIndexWithRecordIndexAsKey)
public void initialize(ProcessorContext processorContext) throws ExecException
initialize
in interface TezTaskConfigurable
ExecException
public java.lang.String[] getTezOutputs()
getTezOutputs
in interface TezOutput
public void replaceOutput(java.lang.String oldOutputKey, java.lang.String newOutputKey)
replaceOutput
in interface TezOutput
public void attachOutputs(java.util.Map<java.lang.String,LogicalOutput> outputs, org.apache.hadoop.conf.Configuration conf) throws ExecException
attachOutputs
in interface TezOutput
ExecException
public void addOutputKey(java.lang.String outputKey)
public void removeOutputKey(java.lang.String outputKey)
public boolean containsOutputKey(java.lang.String outputKey)
public Result getNextTuple() throws ExecException
getNextTuple
in class PhysicalOperator
ExecException
public Tuple illustratorMarkup(java.lang.Object in, java.lang.Object out, int eqClassIndex)
Illustrable
illustratorMarkup
in interface Illustrable
in
- input tupleout
- output tuple before wrapped in ExampleTupleeqClassIndex
- index into equivalence classes in illustratorpublic void visit(PhyPlanVisitor v) throws VisitorException
Operator
visit
in class PhysicalOperator
v
- Visitor to visit with.VisitorException
- if the visitor has a problem.public boolean supportsMultipleInputs()
Operator
supportsMultipleInputs
in class Operator<PhyPlanVisitor>
public boolean supportsMultipleOutputs()
Operator
supportsMultipleOutputs
in class Operator<PhyPlanVisitor>
public java.lang.String name()
name
in class Operator<PhyPlanVisitor>
Copyright © 2007-2012 The Apache Software Foundation