org.apache.hadoop.hive.ql.exec.vector
Class VectorSMBMapJoinOperator
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<SMBJoinDesc>
org.apache.hadoop.hive.ql.exec.SMBMapJoinOperator
org.apache.hadoop.hive.ql.exec.vector.VectorSMBMapJoinOperator
- All Implemented Interfaces:
- Serializable, Cloneable, VectorizationContextRegion, Node
public class VectorSMBMapJoinOperator
- extends SMBMapJoinOperator
- implements VectorizationContextRegion
VectorSMBJoinOperator.
Implements the vectorized SMB join operator. The implementation relies on the row-mode SMB join operator.
It accepts a vectorized batch input from the big table and iterates over the batch, calling the parent row-mode
implementation for each row in the batch.
- 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, endGroup, getFilteredValue, getFilterTag, getJoinOutputObjectInspector, getNextSize, getPosToAliasMap, hasFilter, opAllowedAfterMapJoin, opAllowedBeforeMapJoin, reportProgress, setPosToAliasMap, startGroup |
| Methods inherited from class org.apache.hadoop.hive.ql.exec.Operator |
acceptLimitPushdown, 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, initOperatorId, isUseBucketizedHiveInputFormat, jobClose, jobCloseOp, logStats, opAllowedBeforeSortMergeJoin, 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 |
VectorSMBMapJoinOperator
public VectorSMBMapJoinOperator()
VectorSMBMapJoinOperator
public VectorSMBMapJoinOperator(VectorizationContext vContext,
OperatorDesc conf)
throws HiveException
- Throws:
HiveException
smbJoinComputeKeys
protected List<Object> smbJoinComputeKeys(Object row,
byte alias)
throws HiveException
- Overrides:
smbJoinComputeKeys in class SMBMapJoinOperator
- Throws:
HiveException
initializeOp
protected void initializeOp(org.apache.hadoop.conf.Configuration hconf)
throws HiveException
- Description copied from class:
Operator
- Operator specific initialization.
- Overrides:
initializeOp in class SMBMapJoinOperator
- Throws:
HiveException
processOp
public void processOp(Object row,
int tag)
throws HiveException
- Description copied from class:
Operator
- Process the row.
- Overrides:
processOp in class SMBMapJoinOperator
- 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
closeOp
public void closeOp(boolean aborted)
throws HiveException
- Description copied from class:
CommonJoinOperator
- All done.
- Overrides:
closeOp in class SMBMapJoinOperator
- Throws:
HiveException
internalForward
protected void internalForward(Object row,
ObjectInspector outputOI)
throws HiveException
- Overrides:
internalForward in class CommonJoinOperator<SMBJoinDesc>
- Throws:
HiveException
getOuputVectorizationContext
public VectorizationContext getOuputVectorizationContext()
- Specified by:
getOuputVectorizationContext in interface VectorizationContextRegion
Copyright © 2014 The Apache Software Foundation. All rights reserved.