|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.exec.Operator<T>
org.apache.hadoop.hive.ql.exec.TerminalOperator<reduceSinkDesc>
org.apache.hadoop.hive.ql.exec.ReduceSinkOperator
public class ReduceSinkOperator
Reduce Sink Operator sends output to the reduce stage
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.Operator |
---|
Operator.OperatorFunc, Operator.State |
Field Summary | |
---|---|
protected ExprNodeEvaluator[] |
keyEval
The evaluators for the key columns. |
protected ExprNodeEvaluator[] |
partitionEval
The evaluators for the partition columns (CLUSTER BY or DISTRIBUTE BY in Hive language). |
protected ExprNodeEvaluator[] |
valueEval
The evaluators for the value columns. |
Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator |
---|
alias, childOperators, childOperatorsArray, childOperatorsTag, colExprMap, conf, done, id, inputObjInspectors, LOG, out, outputObjInspector, parentOperators, reporter, state, statsMap |
Constructor Summary | |
---|---|
ReduceSinkOperator()
|
Method Summary | |
---|---|
String |
getName()
Implements the getName function for the Node Interface. |
protected void |
initializeOp(org.apache.hadoop.conf.Configuration hconf)
Operator specific initialization. |
void |
process(Object row,
int tag)
Process the row. |
Methods inherited from class org.apache.hadoop.hive.ql.exec.Operator |
---|
areAllParentsInitialized, close, closeOp, dump, endGroup, forward, getChildOperators, getChildren, getColumnExprMap, getConf, getDone, getIdentifier, getParentOperators, getSchema, getStats, initEvaluators, initEvaluatorsAndReturnStruct, initialize, initializeChildren, jobClose, logStats, preorderMap, removeChild, replaceChild, replaceParent, resetStats, setAlias, setChildOperators, setColumnExprMap, setConf, setDone, setId, setOutputCollector, setParentOperators, setReporter, setSchema, startGroup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient ExprNodeEvaluator[] keyEval
protected transient ExprNodeEvaluator[] valueEval
protected transient ExprNodeEvaluator[] partitionEval
Constructor Detail |
---|
public ReduceSinkOperator()
Method Detail |
---|
protected void initializeOp(org.apache.hadoop.conf.Configuration hconf) throws HiveException
Operator
initializeOp
in class Operator<reduceSinkDesc>
HiveException
public void process(Object row, int tag) throws HiveException
Operator
process
in class Operator<reduceSinkDesc>
row
- The object representing the row.tag
- The tag of the row usually means which parent this row comes from.
Rows with the same tag should have exactly the same rowInspector all the time.
HiveException
public String getName()
Operator
getName
in interface Node
getName
in class Operator<reduceSinkDesc>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |