public class JoinOperator extends CommonJoinOperator<JoinDesc> implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
JoinOperator.SkewkeyTableCounter
SkewkeyTableCounter.
|
Operator.Counter, Operator.OperatorFunc, Operator.Statealias, aliasFilterTags, condn, countAfterReport, dummyObj, dummyObjVectors, filterMaps, filterTags, forwardCache, hconf, heartbeatInterval, intermediate, joinFilterObjectInspectors, joinFilters, joinValues, joinValuesObjectInspectors, joinValuesStandardObjectInspectors, LOG, needsPostEvaluation, noOuterJoin, NOTSKIPBIGTABLE, nullsafes, numAliases, offsets, order, residualJoinFilters, residualJoinFiltersOIs, rowContainerPostFilteredOuterJoin, rowContainerStandardObjectInspectors, skipVectors, spillTableDesc, totalSzabortOp, asyncInitOperations, bucketingVersion, cContext, childOperators, childOperatorsArray, childOperatorsTag, conf, CONTEXT_NAME_KEY, done, groupKeyObject, HIVE_COUNTER_CREATED_DYNAMIC_PARTITIONS, HIVE_COUNTER_CREATED_FILES, HIVE_COUNTER_FATAL, id, indexForTezUnion, inputObjInspectors, numRows, operatorId, out, outputObjInspector, parentOperators, reporter, runTimeNumRows, state, statsMap| Modifier | Constructor and Description |
|---|---|
protected |
JoinOperator()
Kryo ctor.
|
|
JoinOperator(CompilationOpContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeOp(boolean abort)
All done.
|
void |
endGroup()
Forward a record of join results.
|
org.apache.hadoop.hive.ql.plan.api.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.
|
void |
jobCloseOp(org.apache.hadoop.conf.Configuration hconf,
boolean success) |
boolean |
opAllowedBeforeSortMergeJoin() |
void |
process(Object row,
int tag)
Process the row.
|
boolean |
supportSkewJoinOptimization() |
checkAndGenObject, getFilteredValue, getFilterTag, getName, getNextSize, getOperatorName, getPosToAliasMap, getValueObjectInspectors, hasFilter, internalForward, opAllowedAfterMapJoin, opAllowedBeforeMapJoin, reportProgress, setPosToAliasMap, startGroupabort, acceptLimitPushdown, allInitializedParentsAreClosed, areAllParentsInitialized, augmentPlan, cleanUpInputFileChanged, cleanUpInputFileChangedOp, clone, cloneOp, cloneRecursiveChildren, close, columnNamesRowResolvedCanBeObtained, completeInitializationOp, createDummy, defaultEndGroup, defaultStartGroup, dump, dump, flush, flushRecursive, forward, forward, forward, getAdditionalCounters, getBucketingVersion, getChildOperators, getChildren, getColumnExprMap, getCompilationOpContext, getConf, getConfiguration, getCounterName, getDone, getExecContext, getGroupKeyObject, getIdentifier, getIndexForTezUnion, getInputObjInspectors, getIsReduceSink, getMarker, getNextCntr, getNumChild, getNumParent, getOperatorId, getOpTraits, getOutputObjInspector, getParentOperators, getReduceOutputName, getSchema, getStatistics, getStats, initEvaluators, initEvaluators, initEvaluatorsAndReturnStruct, initialize, initialize, initializeChildren, initializeLocalWork, initOperatorId, isUseBucketizedHiveInputFormat, jobClose, logicalEquals, logicalEqualsTree, logStats, opAllowedConvertMapJoin, passExecContext, preorderMap, processGroup, removeChild, removeChildAndAdoptItsChildren, removeParent, removeParents, replaceChild, replaceParent, reset, setAlias, setBucketingVersion, setChildOperators, setColumnExprMap, setCompilationOpContext, setConf, setDone, setExecContext, setGroupKeyObject, setIndexForTezUnion, setInputContext, setInputObjInspectors, setMarker, setNextVectorBatchGroupStatus, setOpTraits, setOutputCollector, setParentOperators, setReporter, setSchema, setStatistics, setUseBucketizedHiveInputFormat, supportAutomaticSortMergeJoin, supportUnionRemoveOptimization, toString, toStringprotected JoinOperator()
public JoinOperator(CompilationOpContext ctx)
protected void initializeOp(org.apache.hadoop.conf.Configuration hconf)
throws HiveException
OperatorinitializeOp in class CommonJoinOperator<JoinDesc>HiveExceptionpublic void process(Object row, int tag) throws HiveException
Operatorprocess in class Operator<JoinDesc>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 org.apache.hadoop.hive.ql.plan.api.OperatorType getType()
Operatorpublic void closeOp(boolean abort)
throws HiveException
closeOp in class CommonJoinOperator<JoinDesc>HiveExceptionpublic void jobCloseOp(org.apache.hadoop.conf.Configuration hconf,
boolean success)
throws HiveException
jobCloseOp in class Operator<JoinDesc>HiveExceptionpublic void endGroup()
throws HiveException
endGroup in class CommonJoinOperator<JoinDesc>HiveExceptionpublic boolean supportSkewJoinOptimization()
supportSkewJoinOptimization in class Operator<JoinDesc>public boolean opAllowedBeforeSortMergeJoin()
opAllowedBeforeSortMergeJoin in class Operator<JoinDesc>Copyright © 2019 The Apache Software Foundation. All Rights Reserved.