public class JoinOperator extends CommonJoinOperator<JoinDesc> implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
JoinOperator.SkewkeyTableCounter
SkewkeyTableCounter.
|
Operator.OperatorFunc, Operator.State
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
childOperators, 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 |
---|
JoinOperator() |
Modifier and Type | Method and Description |
---|---|
void |
closeOp(boolean abort)
All done.
|
void |
endGroup()
Forward a record of join results.
|
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.
|
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, startGroup
acceptLimitPushdown, 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, initializeLocalWork, initOperatorId, isUseBucketizedHiveInputFormat, jobClose, logStats, 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, supportUnionRemoveOptimization, toString, toString
protected Collection<Future<?>> initializeOp(org.apache.hadoop.conf.Configuration hconf) throws HiveException
Operator
initializeOp
in class CommonJoinOperator<JoinDesc>
HiveException
public void process(Object row, int tag) throws HiveException
Operator
process
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.HiveException
public OperatorType getType()
Operator
public void closeOp(boolean abort) throws HiveException
closeOp
in class CommonJoinOperator<JoinDesc>
HiveException
public void jobCloseOp(org.apache.hadoop.conf.Configuration hconf, boolean success) throws HiveException
jobCloseOp
in class Operator<JoinDesc>
HiveException
public void endGroup() throws HiveException
endGroup
in class CommonJoinOperator<JoinDesc>
HiveException
public boolean supportSkewJoinOptimization()
supportSkewJoinOptimization
in class Operator<JoinDesc>
public boolean opAllowedBeforeSortMergeJoin()
opAllowedBeforeSortMergeJoin
in class Operator<JoinDesc>
Copyright © 2017 The Apache Software Foundation. All rights reserved.