public abstract class VectorMapJoinCommonOperator extends MapJoinOperator implements VectorizationContextRegion
Operator.OperatorFunc, Operator.StatefirstSmallTable, hashMapRowGetters, loader, mapJoinTables, spilledMapJoinTablesemptyList, joinKeys, joinKeysObjectInspectors, posBigTablealias, aliasFilterTags, condn, countAfterReport, dummyObj, dummyObjVectors, filterMaps, filterTags, forwardCache, heartbeatInterval, intermediate, joinFilterObjectInspectors, joinFilters, joinValues, joinValuesObjectInspectors, joinValuesStandardObjectInspectors, noOuterJoin, NOTSKIPBIGTABLE, nullsafes, numAliases, offsets, order, rowContainerStandardObjectInspectors, skipVectors, spillTableDesc, totalSzchildOperators, childOperatorsArray, childOperatorsTag, colExprMap, conf, CONTEXT_NAME_KEY, done, groupKeyObject, HIVECOUNTERCREATEDFILES, HIVECOUNTERFATAL, id, inputObjInspectors, isLogDebugEnabled, isLogInfoEnabled, isLogTraceEnabled, operatorId, out, outputObjInspector, parentOperators, PLOG, reporter, state, statsMap| Constructor and Description |
|---|
VectorMapJoinCommonOperator() |
VectorMapJoinCommonOperator(VectorizationContext vContext,
OperatorDesc conf) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
commonSetup(VectorizedRowBatch batch) |
protected void |
determineCommonInfo(boolean isOuter) |
protected void |
displayBatchColumns(VectorizedRowBatch batch,
String batchName) |
protected HashTableLoader |
getHashTableLoader(org.apache.hadoop.conf.Configuration hconf)
This override lets us substitute our own fast vectorized hash table loader.
|
VectorizationContext |
getOuputVectorizationContext() |
OperatorType |
getType()
Return the type of the specific operator among the
types in OperatorType.
|
protected Collection<Future<?>> |
initializeOp(org.apache.hadoop.conf.Configuration hconf)
Operator specific initialization.
|
protected org.apache.commons.lang3.tuple.Pair<MapJoinTableContainer[],MapJoinTableContainerSerDe[]> |
loadHashTable(ExecMapperContext mapContext,
MapredContext mrContext) |
protected VectorizedRowBatch |
setupOverflowBatch() |
protected void |
setupVOutContext(List<String> outputColumnNames)
Setup the vectorized row batch description of the output of the native vectorized map join
operator.
|
cleanUpInputFileChangedOp, closeOp, completeInitializationOp, endGroup, generateMapMetaData, getName, getOperatorName, getRefKey, getValueObjectInspectors, process, reloadHashTable, reProcessBigTable, setMapJoinKey, spillBigTableRow, startGroupcheckAndGenObject, getFilteredValue, getFilterTag, getNextSize, getPosToAliasMap, hasFilter, internalForward, opAllowedAfterMapJoin, opAllowedBeforeMapJoin, reportProgress, setPosToAliasMapacceptLimitPushdown, allInitializedParentsAreClosed, areAllParentsInitialized, augmentPlan, cleanUpInputFileChanged, clone, cloneOp, cloneRecursiveChildren, close, columnNamesRowResolvedCanBeObtained, createDummy, defaultEndGroup, defaultStartGroup, dump, dump, flush, forward, getAdditionalCounters, getChildOperators, getChildren, getColumnExprMap, getConf, getConfiguration, getDone, getExecContext, getGroupKeyObject, 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, setId, setInputContext, setInputObjInspectors, setOperatorId, setOpTraits, setOutputCollector, setParentOperators, setReporter, setSchema, setStatistics, setUseBucketizedHiveInputFormat, supportAutomaticSortMergeJoin, supportSkewJoinOptimization, supportUnionRemoveOptimization, toString, toStringprotected boolean isOuterJoin
protected byte posSingleVectorMapJoinSmallTable
protected VectorizationContext vContext
protected VectorizationContext vOutContext
protected int[] outputProjection
protected String[] outputTypeNames
protected VectorExpression[] bigTableFilterExpressions
protected VectorExpression[] bigTableKeyExpressions
protected VectorExpression[] bigTableValueExpressions
protected int[] bigTableKeyColumnMap
protected int[] bigTableValueColumnMap
protected VectorColumnOutputMapping bigTableRetainedMapping
protected VectorColumnOutputMapping bigTableOuterKeyMapping
protected VectorColumnSourceMapping smallTableMapping
protected int[] smallTableOutputVectorColumns
protected int[] bigTableOuterKeyOutputVectorColumns
protected int[] bigTableByteColumnVectorColumns
protected int[] smallTableByteColumnVectorColumns
protected transient String taskName
protected transient boolean useOverflowRepeatedThreshold
protected transient int overflowRepeatedThreshold
protected transient VectorCopyRow bigTableRetainedVectorCopy
protected transient VectorCopyRow bigTableVectorCopyOuterKeys
protected transient VectorDeserializeRow smallTableVectorDeserializeRow
protected transient VectorizedRowBatch overflowBatch
protected transient VectorizedRowBatch spillReplayBatch
protected transient boolean needCommonSetup
protected transient boolean needHashTableSetup
protected transient VectorMapJoinHashTable vectorMapJoinHashTable
public VectorMapJoinCommonOperator()
public VectorMapJoinCommonOperator(VectorizationContext vContext, OperatorDesc conf) throws HiveException
HiveExceptionprotected void determineCommonInfo(boolean isOuter)
protected void setupVOutContext(List<String> outputColumnNames)
protected HashTableLoader getHashTableLoader(org.apache.hadoop.conf.Configuration hconf)
getHashTableLoader in class MapJoinOperatorprotected Collection<Future<?>> initializeOp(org.apache.hadoop.conf.Configuration hconf) throws HiveException
OperatorinitializeOp in class MapJoinOperatorHiveExceptionprotected org.apache.commons.lang3.tuple.Pair<MapJoinTableContainer[],MapJoinTableContainerSerDe[]> loadHashTable(ExecMapperContext mapContext, MapredContext mrContext) throws HiveException
loadHashTable in class MapJoinOperatorHiveExceptionprotected VectorizedRowBatch setupOverflowBatch() throws HiveException
HiveExceptionprotected void commonSetup(VectorizedRowBatch batch) throws HiveException
HiveExceptionprotected void displayBatchColumns(VectorizedRowBatch batch, String batchName)
public OperatorType getType()
OperatorgetType in class MapJoinOperatorpublic VectorizationContext getOuputVectorizationContext()
getOuputVectorizationContext in interface VectorizationContextRegionCopyright © 2015 The Apache Software Foundation. All rights reserved.