public class CommonMergeJoinOperator extends AbstractMapJoinOperator<CommonMergeJoinDesc> implements Serializable
Operator.OperatorFunc, Operator.StateemptyList, joinKeys, joinKeysObjectInspectors, posBigTablealias, 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, 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 |
|---|
CommonMergeJoinOperator() |
| Modifier and Type | Method and Description |
|---|---|
void |
cloneOriginalParentsList(List<Operator<? extends OperatorDesc>> opList) |
void |
closeOp(boolean abort)
All done.
|
void |
endGroup()
Forward a record of join results.
|
String |
getName()
Implements the getName function for the Node Interface.
|
static String |
getOperatorName() |
int |
getTagForOperator(Operator<? extends OperatorDesc> op) |
OperatorType |
getType()
Return the type of the specific operator among the
types in OperatorType.
|
void |
initializeLocalWork(org.apache.hadoop.conf.Configuration hconf) |
Collection<Future<?>> |
initializeOp(org.apache.hadoop.conf.Configuration hconf)
Operator specific initialization.
|
boolean |
isBigTableWork() |
void |
process(Object row,
int tag)
Process the row.
|
void |
setIsBigTableWork(boolean bigTableWork) |
void |
startGroup() |
getValueObjectInspectorscheckAndGenObject, getFilteredValue, getFilterTag, getNextSize, getPosToAliasMap, hasFilter, internalForward, opAllowedAfterMapJoin, opAllowedBeforeMapJoin, reportProgress, setPosToAliasMapacceptLimitPushdown, allInitializedParentsAreClosed, areAllParentsInitialized, augmentPlan, cleanUpInputFileChanged, cleanUpInputFileChangedOp, clone, cloneOp, cloneRecursiveChildren, close, columnNamesRowResolvedCanBeObtained, completeInitializationOp, 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, 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, toStringpublic Collection<Future<?>> initializeOp(org.apache.hadoop.conf.Configuration hconf) throws HiveException
OperatorinitializeOp in class AbstractMapJoinOperator<CommonMergeJoinDesc>HiveExceptionpublic void endGroup()
throws HiveException
CommonJoinOperatorendGroup in class CommonJoinOperator<CommonMergeJoinDesc>HiveExceptionpublic void startGroup()
throws HiveException
startGroup in class CommonJoinOperator<CommonMergeJoinDesc>HiveExceptionpublic void process(Object row, int tag) throws HiveException
Operatorprocess in class Operator<CommonMergeJoinDesc>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.HiveExceptionpublic void closeOp(boolean abort)
throws HiveException
CommonJoinOperatorcloseOp in class AbstractMapJoinOperator<CommonMergeJoinDesc>HiveExceptionpublic String getName()
OperatorgetName in interface NodegetName in class CommonJoinOperator<CommonMergeJoinDesc>public static String getOperatorName()
public OperatorType getType()
OperatorgetType in class AbstractMapJoinOperator<CommonMergeJoinDesc>public void initializeLocalWork(org.apache.hadoop.conf.Configuration hconf)
throws HiveException
initializeLocalWork in class Operator<CommonMergeJoinDesc>HiveExceptionpublic boolean isBigTableWork()
public void setIsBigTableWork(boolean bigTableWork)
public int getTagForOperator(Operator<? extends OperatorDesc> op)
public void cloneOriginalParentsList(List<Operator<? extends OperatorDesc>> opList)
Copyright © 2017 The Apache Software Foundation. All rights reserved.