org.apache.hadoop.hive.ql.exec.vector
Class VectorMapJoinOperator
java.lang.Object
org.apache.hadoop.hive.ql.exec.Operator<T>
org.apache.hadoop.hive.ql.exec.CommonJoinOperator<T>
org.apache.hadoop.hive.ql.exec.AbstractMapJoinOperator<MapJoinDesc>
org.apache.hadoop.hive.ql.exec.MapJoinOperator
org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator
- All Implemented Interfaces:
- Serializable, Cloneable, VectorizationContextRegion, Node
public class VectorMapJoinOperator
- extends MapJoinOperator
- implements VectorizationContextRegion
The vectorized version of the MapJoinOperator.
- See Also:
- Serialized Form
| Fields inherited from class org.apache.hadoop.hive.ql.exec.CommonJoinOperator |
alias, aliasFilterTags, condn, countAfterReport, dummyObj, dummyObjVectors, filterMaps, filterTags, forwardCache, hconf, heartbeatInterval, intermediate, joinFilterObjectInspectors, joinFilters, joinValues, joinValuesObjectInspectors, joinValuesStandardObjectInspectors, noOuterJoin, NOTSKIPBIGTABLE, nullsafes, numAliases, offsets, order, rowContainerStandardObjectInspectors, skipVectors, spillTableDesc, totalSz |
| Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator |
childOperators, childOperatorsArray, childOperatorsTag, colExprMap, conf, done, groupKeyObject, groupKeyOI, HIVECOUNTERCREATEDFILES, HIVECOUNTERFATAL, id, inputObjInspectors, isLogInfoEnabled, operatorId, out, outputObjInspector, parentOperators, reporter, state, statsMap |
| Methods inherited from class org.apache.hadoop.hive.ql.exec.CommonJoinOperator |
checkAndGenObject, getFilteredValue, getFilterTag, getJoinOutputObjectInspector, getNextSize, getPosToAliasMap, hasFilter, opAllowedAfterMapJoin, opAllowedBeforeMapJoin, reportProgress, setPosToAliasMap |
| Methods inherited from class org.apache.hadoop.hive.ql.exec.Operator |
acceptLimitPushdown, allInitializedParentsAreClosed, areAllParentsInitialized, augmentPlan, cleanUpInputFileChanged, clone, cloneOp, cloneRecursiveChildren, close, columnNamesRowResolvedCanBeObtained, defaultEndGroup, defaultStartGroup, dump, dump, 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, 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, setOutputCollector, setParentOperators, setReporter, setSchema, setStatistics, setUseBucketizedHiveInputFormat, supportAutomaticSortMergeJoin, supportSkewJoinOptimization, supportUnionRemoveOptimization, toString, toString |
VectorMapJoinOperator
public VectorMapJoinOperator()
VectorMapJoinOperator
public VectorMapJoinOperator(VectorizationContext vContext,
OperatorDesc conf)
throws HiveException
- Throws:
HiveException
initializeOp
public void initializeOp(org.apache.hadoop.conf.Configuration hconf)
throws HiveException
- Description copied from class:
Operator
- Operator specific initialization.
- Overrides:
initializeOp in class MapJoinOperator
- Throws:
HiveException
internalForward
protected void internalForward(Object row,
ObjectInspector outputOI)
throws HiveException
- 'forwards' the (row-mode) record into the (vectorized) output batch
- Overrides:
internalForward in class CommonJoinOperator<MapJoinDesc>
- Throws:
HiveException
closeOp
public void closeOp(boolean aborted)
throws HiveException
- Description copied from class:
CommonJoinOperator
- All done.
- Overrides:
closeOp in class MapJoinOperator
- Throws:
HiveException
computeMapJoinKey
protected MapJoinKey computeMapJoinKey(Object row,
byte alias)
throws HiveException
- Overrides:
computeMapJoinKey in class MapJoinOperator
- Throws:
HiveException
processOp
public void processOp(Object row,
int tag)
throws HiveException
- Description copied from class:
Operator
- Process the row.
- Overrides:
processOp in class MapJoinOperator
- 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
getOuputVectorizationContext
public VectorizationContext getOuputVectorizationContext()
- Specified by:
getOuputVectorizationContext in interface VectorizationContextRegion
Copyright © 2014 The Apache Software Foundation. All rights reserved.