org.apache.hadoop.hive.ql.exec.vector
Class VectorReduceSinkOperator
java.lang.Object
org.apache.hadoop.hive.ql.exec.Operator<T>
org.apache.hadoop.hive.ql.exec.TerminalOperator<ReduceSinkDesc>
org.apache.hadoop.hive.ql.exec.ReduceSinkOperator
org.apache.hadoop.hive.ql.exec.vector.VectorReduceSinkOperator
- All Implemented Interfaces:
- Serializable, Cloneable, TopNHash.BinaryCollector, Node
public class VectorReduceSinkOperator
- extends ReduceSinkOperator
- See Also:
- Serialized Form
| Fields inherited from class org.apache.hadoop.hive.ql.exec.ReduceSinkOperator |
cachedKeys, cachedValues, distinctColIndices, keyIsText, keyObjectInspector, keySerializer, keyWritable, numDistinctExprs, numDistributionKeys, out, random, reducerHash, tagByte, valueObjectInspector, valueSerializer |
| Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator |
alias, childOperators, childOperatorsArray, childOperatorsTag, colExprMap, conf, done, groupKeyObject, groupKeyOI, HIVECOUNTERCREATEDFILES, HIVECOUNTERFATAL, id, inputObjInspectors, isLogInfoEnabled, operatorId, outputObjInspector, parentOperators, reporter, state, statsMap |
| Methods inherited from class org.apache.hadoop.hive.ql.exec.ReduceSinkOperator |
closeOp, collect, collect, getInputAliases, getName, getType, initEvaluatorsAndReturnStruct, opAllowedBeforeMapJoin, setInputAliases, setOutputCollector, toHiveKey |
| Methods inherited from class org.apache.hadoop.hive.ql.exec.Operator |
acceptLimitPushdown, allInitializedParentsAreClosed, areAllParentsInitialized, augmentPlan, cleanUpInputFileChanged, cleanUpInputFileChangedOp, clone, cloneOp, cloneRecursiveChildren, close, columnNamesRowResolvedCanBeObtained, defaultEndGroup, defaultStartGroup, dump, dump, endGroup, flush, forward, getAdditionalCounters, getChildOperators, getChildren, getColumnExprMap, getConf, getConfiguration, getDone, getExecContext, getGroupKeyObject, getGroupKeyObjectInspector, getIdentifier, getInputObjInspectors, getNextCntr, getNumChild, getNumParent, getOperatorId, getOpTraits, getOutputObjInspector, getParentOperators, getSchema, getStatistics, getStats, initEvaluators, initEvaluators, initEvaluatorsAndReturnStruct, initialize, initialize, initializeChildren, initializeLocalWork, initOperatorId, isUseBucketizedHiveInputFormat, jobClose, jobCloseOp, logStats, opAllowedAfterMapJoin, opAllowedBeforeSortMergeJoin, opAllowedConvertMapJoin, passExecContext, preorderMap, processGroup, removeChild, removeChildAndAdoptItsChildren, removeChildren, removeParent, replaceChild, replaceParent, reset, resetId, resetStats, setAlias, setChildOperators, setColumnExprMap, setConf, setDone, setExecContext, setGroupKeyObject, setGroupKeyObjectInspector, setId, setInputObjInspectors, setOperatorId, setOpTraits, setParentOperators, setReporter, setSchema, setStatistics, setUseBucketizedHiveInputFormat, startGroup, supportAutomaticSortMergeJoin, supportSkewJoinOptimization, supportUnionRemoveOptimization, toString, toString |
VectorReduceSinkOperator
public VectorReduceSinkOperator(VectorizationContext vContext,
OperatorDesc conf)
throws HiveException
- Throws:
HiveException
VectorReduceSinkOperator
public VectorReduceSinkOperator()
initializeOp
protected void initializeOp(org.apache.hadoop.conf.Configuration hconf)
throws HiveException
- Description copied from class:
Operator
- Operator specific initialization.
- Overrides:
initializeOp in class ReduceSinkOperator
- Throws:
HiveException
processOp
public void processOp(Object row,
int tag)
throws HiveException
- Description copied from class:
Operator
- Process the row.
- Overrides:
processOp in class ReduceSinkOperator
- Parameters:
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.
- Throws:
HiveException
getOperatorName
public static String getOperatorName()
getPartitionEval
public VectorExpression[] getPartitionEval()
setPartitionEval
public void setPartitionEval(VectorExpression[] partitionEval)
getValueEval
public VectorExpression[] getValueEval()
setValueEval
public void setValueEval(VectorExpression[] valueEval)
getKeyEval
public VectorExpression[] getKeyEval()
setKeyEval
public void setKeyEval(VectorExpression[] keyEval)
Copyright © 2014 The Apache Software Foundation. All rights reserved.