org.apache.hadoop.hive.ql.exec
Class AbstractMapJoinOperator<T extends MapJoinDesc>

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<T>
All Implemented Interfaces:
Serializable, Cloneable, Node
Direct Known Subclasses:
MapJoinOperator, SMBMapJoinOperator

public abstract class AbstractMapJoinOperator<T extends MapJoinDesc>
extends CommonJoinOperator<T>
implements Serializable

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
protected  RowContainer<List<Object>> emptyList
           
protected  List<ExprNodeEvaluator>[] joinKeys
          The expressions for join inputs's join keys.
protected  List<ObjectInspector>[] joinKeysObjectInspectors
          The ObjectInspectors for the join inputs's join keys.
protected  List<ObjectInspector>[] joinKeysStandardObjectInspectors
          The standard ObjectInspectors for the join inputs's join keys.
protected  byte posBigTable
           
 
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, LOG, 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
 
Constructor Summary
AbstractMapJoinOperator()
           
AbstractMapJoinOperator(AbstractMapJoinOperator<? extends MapJoinDesc> mjop)
           
 
Method Summary
 void closeOp(boolean abort)
          All done.
 OperatorType getType()
          Return the type of the specific operator among the types in OperatorType.
protected  void initializeOp(org.apache.hadoop.conf.Configuration hconf)
          Operator specific initialization.
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.CommonJoinOperator
checkAndGenObject, endGroup, getFilteredValue, getFilterTag, getJoinOutputObjectInspector, getName, getNextSize, getOperatorName, getPosToAliasMap, hasFilter, internalForward, opAllowedAfterMapJoin, opAllowedBeforeMapJoin, reportProgress, setPosToAliasMap, startGroup
 
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, 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, processOp, 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

joinKeys

protected transient List<ExprNodeEvaluator>[] joinKeys
The expressions for join inputs's join keys.


joinKeysObjectInspectors

protected transient List<ObjectInspector>[] joinKeysObjectInspectors
The ObjectInspectors for the join inputs's join keys.


joinKeysStandardObjectInspectors

protected transient List<ObjectInspector>[] joinKeysStandardObjectInspectors
The standard ObjectInspectors for the join inputs's join keys.


posBigTable

protected transient byte posBigTable

emptyList

protected transient RowContainer<List<Object>> emptyList
Constructor Detail

AbstractMapJoinOperator

public AbstractMapJoinOperator()

AbstractMapJoinOperator

public AbstractMapJoinOperator(AbstractMapJoinOperator<? extends MapJoinDesc> mjop)
Method Detail

initializeOp

protected void initializeOp(org.apache.hadoop.conf.Configuration hconf)
                     throws HiveException
Description copied from class: Operator
Operator specific initialization.

Overrides:
initializeOp in class CommonJoinOperator<T extends MapJoinDesc>
Throws:
HiveException

getType

public OperatorType getType()
Description copied from class: Operator
Return the type of the specific operator among the types in OperatorType.

Specified by:
getType in class Operator<T extends MapJoinDesc>
Returns:
OperatorType.*

closeOp

public void closeOp(boolean abort)
             throws HiveException
Description copied from class: CommonJoinOperator
All done.

Overrides:
closeOp in class CommonJoinOperator<T extends MapJoinDesc>
Throws:
HiveException


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