public class POCounterTez extends POCounter implements TezOutput, TezTaskConfigurable
PhysicalOperator.OriginalLocation
mTupleFactory, ONE
alias, illustrator, input, inputAttached, inputs, lineageTracer, outputs, parentPlan, pigLogger, reporter, requestedParallelism, res, RESULT_EMPTY, RESULT_EOP, resultType
Constructor and Description |
---|
POCounterTez(POCounter copy) |
Modifier and Type | Method and Description |
---|---|
void |
attachOutputs(java.util.Map<java.lang.String,LogicalOutput> outputs,
org.apache.hadoop.conf.Configuration conf) |
Result |
getNextTuple() |
java.lang.String[] |
getTezOutputs() |
protected void |
incrementReduceCounter(java.lang.Long increment) |
void |
initialize(ProcessorContext processorContext) |
java.lang.String |
name() |
void |
replaceOutput(java.lang.String oldOutputKey,
java.lang.String newOutputKey) |
void |
setStatsOutputKey(java.lang.String statsOutputKey) |
void |
setTuplesOutputKey(java.lang.String tuplesOutputKey) |
void |
visit(PhyPlanVisitor v)
Visit this node with the provided visitor.
|
addCounterValue, addToLocalCounter, getAscendingColumns, getCounterPlans, getLocalCounter, getOperationID, getTaskId, illustratorMarkup, incrementLocalCounter, isDenseRank, isRowNumber, resetLocalCounter, setAscendingColumns, setCounterPlans, setIsDenseRank, setIsRowNumber, setLocalCounter, setOperationID, setTaskId, supportsMultipleInputs, supportsMultipleOutputs
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 POCounterTez(POCounter copy)
public void initialize(ProcessorContext processorContext) throws ExecException
initialize
in interface TezTaskConfigurable
ExecException
public void setTuplesOutputKey(java.lang.String tuplesOutputKey)
public void setStatsOutputKey(java.lang.String statsOutputKey)
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 Result getNextTuple() throws ExecException
getNextTuple
in class POCounter
ExecException
protected void incrementReduceCounter(java.lang.Long increment)
incrementReduceCounter
in class POCounter
public void visit(PhyPlanVisitor v) throws VisitorException
Operator
visit
in class POCounter
v
- Visitor to visit with.VisitorException
- if the visitor has a problem.Copyright © 2007-2012 The Apache Software Foundation