public class JoinOperator extends CommonJoinOperator<JoinDesc> implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
JoinOperator.SkewkeyTableCounter
SkewkeyTableCounter.
|
Operator.OperatorFunc, Operator.ProgressCounter, Operator.Statealias, aliasFilterTags, condn, countAfterReport, dummyObj, dummyObjVectors, filterMaps, filterTags, forwardCache, heartbeatInterval, intermediate, joinFilterObjectInspectors, joinFilters, joinValues, joinValuesObjectInspectors, joinValuesStandardObjectInspectors, LOG, noOuterJoin, NOTSKIPBIGTABLE, nullsafes, numAliases, offsets, order, rowContainerStandardObjectInspectors, skipVectors, spillTableDesc, totalSzbeginTime, childOperators, childOperatorsArray, childOperatorsTag, colExprMap, conf, counterNames, counterNameToEnum, counters, done, fatalErrorCntr, groupKeyObject, id, inputObjInspectors, inputRows, isLogInfoEnabled, numInputRowsCntr, numOutputRowsCntr, operatorId, out, outputObjInspector, outputRows, parentOperators, reporter, state, statsMap, timeTakenCntr, totalTime| 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 void |
initializeOp(Configuration hconf)
Operator specific initialization.
|
void |
jobCloseOp(Configuration hconf,
boolean success,
JobCloseFeedBack feedBack) |
boolean |
opAllowedBeforeSortMergeJoin() |
void |
processOp(java.lang.Object row,
int tag)
Process the row.
|
boolean |
supportSkewJoinOptimization() |
checkAndGenObject, getFilteredValue, getFilterTag, getJoinOutputObjectInspector, getName, getNextSize, getOperatorName, getPosToAliasMap, hasFilter, opAllowedAfterMapJoin, opAllowedBeforeMapJoin, reportProgress, setPosToAliasMap, startGroupacceptLimitPushdown, allInitializedParentsAreClosed, areAllParentsInitialized, assignCounterNameToEnum, augmentPlan, checkFatalErrors, cleanUpInputFileChanged, cleanUpInputFileChangedOp, clone, close, columnNamesRowResolvedCanBeObtained, dump, dump, fatalErrorMessage, flush, forward, getAdditionalCounters, getChildOperators, getChildren, getColumnExprMap, getConf, getConfiguration, getCounterNames, getCounterNameToEnum, getCounters, getDone, getExecContext, getGroupKeyObject, getIdentifier, getInputObjInspectors, getNextCntr, getNumChild, getNumParent, getOperatorId, getParentOperators, getSchema, getStats, getWrappedCounterName, incrCounter, initEvaluators, initEvaluators, initEvaluatorsAndReturnStruct, initialize, initialize, initializeChildren, initializeCounters, initializeLocalWork, initOperatorId, isUseBucketizedHiveInputFormat, jobClose, logStats, opAllowedConvertMapJoin, passExecContext, preorderMap, process, processGroup, removeChild, removeChildAndAdoptItsChildren, removeChildren, removeParent, replaceChild, replaceParent, reset, resetId, resetLastEnumUsed, resetStats, setAlias, setChildOperators, setColumnExprMap, setConf, setCounterNames, setCounterNameToEnum, setDone, setExecContext, setGroupKeyObject, setId, setInputObjInspectors, setOperatorId, setOutputCollector, setParentOperators, setReporter, setSchema, setUseBucketizedHiveInputFormat, supportAutomaticSortMergeJoin, supportUnionRemoveOptimization, toString, toString, updateCountersprotected void initializeOp(Configuration hconf)
throws HiveException
OperatorinitializeOp in class CommonJoinOperator<JoinDesc>HiveExceptionpublic void processOp(java.lang.Object row,
int tag)
throws HiveException
OperatorprocessOp 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 OperatorType getType()
Operatorpublic void closeOp(boolean abort)
throws HiveException
closeOp in class CommonJoinOperator<JoinDesc>HiveExceptionpublic void jobCloseOp(Configuration hconf,
boolean success,
JobCloseFeedBack feedBack)
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 © 2012 The Apache Software Foundation