org.apache.hadoop.hive.ql.exec.vector
Class VectorSMBMapJoinOperator

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.Operator<T>
      extended by org.apache.hadoop.hive.ql.exec.CommonJoinOperator<T>
          extended by org.apache.hadoop.hive.ql.exec.AbstractMapJoinOperator<SMBJoinDesc>
              extended by org.apache.hadoop.hive.ql.exec.SMBMapJoinOperator
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.Operator
Operator.OperatorFunc, Operator.State
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.CommonJoinOperator
noOuterJoin
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator
HIVECOUNTERCREATEDFILES, HIVECOUNTERFATAL
 
Constructor Summary
VectorSMBMapJoinOperator()
           
VectorSMBMapJoinOperator(VectorizationContext vContext, OperatorDesc conf)
           
 
Method Summary
 void closeOp(boolean aborted)
          All done.
 VectorizationContext getOuputVectorizationContext()
           
 void processOp(Object row, int tag)
          Process the row.
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.SMBMapJoinOperator
cleanUpInputFileChangedOp, getName, getOperatorName, getType, initializeLocalWork, initializeMapredLocalWork, isConvertedAutomaticallySMBJoin, opAllowedConvertMapJoin, setConvertedAutomaticallySMBJoin
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.CommonJoinOperator
endGroup, getPosToAliasMap, opAllowedAfterMapJoin, opAllowedBeforeMapJoin, setPosToAliasMap, startGroup
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.Operator
acceptLimitPushdown, augmentPlan, cleanUpInputFileChanged, clone, cloneOp, cloneRecursiveChildren, close, columnNamesRowResolvedCanBeObtained, dump, dump, flush, getChildOperators, getChildren, getColumnExprMap, getConf, getConfiguration, getDone, getExecContext, getGroupKeyObject, getGroupKeyObjectInspector, getIdentifier, getInputObjInspectors, getNumChild, getNumParent, getOperatorId, getOpTraits, getOutputObjInspector, getParentOperators, getSchema, getStatistics, getStats, initialize, initOperatorId, isUseBucketizedHiveInputFormat, jobClose, jobCloseOp, logStats, opAllowedBeforeSortMergeJoin, passExecContext, preorderMap, processGroup, removeChild, removeChildAndAdoptItsChildren, removeChildren, removeParent, replaceChild, replaceParent, reset, resetId, resetStats, setAlias, setChildOperators, setColumnExprMap, setConf, setExecContext, setGroupKeyObject, setGroupKeyObjectInspector, setId, setInputObjInspectors, setOperatorId, setOpTraits, setOutputCollector, setParentOperators, setReporter, setSchema, setStatistics, setUseBucketizedHiveInputFormat, supportAutomaticSortMergeJoin, supportSkewJoinOptimization, supportUnionRemoveOptimization, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VectorSMBMapJoinOperator

public VectorSMBMapJoinOperator()

VectorSMBMapJoinOperator

public VectorSMBMapJoinOperator(VectorizationContext vContext,
                                OperatorDesc conf)
                         throws HiveException
Throws:
HiveException
Method Detail

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

getOuputVectorizationContext

public VectorizationContext getOuputVectorizationContext()
Specified by:
getOuputVectorizationContext in interface VectorizationContextRegion


Copyright © 2014 The Apache Software Foundation. All rights reserved.