|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.exec.Operator<T>
org.apache.hadoop.hive.ql.exec.CommonJoinOperator<JoinDesc>
org.apache.hadoop.hive.ql.exec.JoinOperator
public class JoinOperator
Join operator implementation.
Nested Class Summary | |
---|---|
static class |
JoinOperator.SkewkeyTableCounter
SkewkeyTableCounter. |
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.CommonJoinOperator |
---|
CommonJoinOperator.IntermediateObject |
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.Operator |
---|
Operator.OperatorFunc, Operator.ProgressCounter, Operator.State |
Field Summary |
---|
Fields inherited from class org.apache.hadoop.hive.ql.exec.CommonJoinOperator |
---|
alias, condn, countAfterReport, dummyObj, dummyObjVectors, heartbeatInterval, joinFilterObjectInspectors, joinFilters, joinValues, joinValuesObjectInspectors, joinValuesStandardObjectInspectors, LOG, noOuterJoin, NOTSKIPBIGTABLE, nullsafes, numAliases, order, rowContainerStandardObjectInspectors, spillTableDesc, totalSz |
Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator |
---|
beginTime, 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 Summary | |
---|---|
JoinOperator()
|
Method Summary | |
---|---|
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(org.apache.hadoop.conf.Configuration hconf)
Operator specific initialization. |
void |
jobClose(org.apache.hadoop.conf.Configuration hconf,
boolean success,
JobCloseFeedBack feedBack)
Unlike other operator interfaces which are called from map or reduce task, jobClose is called from the jobclient side once the job has completed. |
void |
processOp(Object row,
int tag)
Process the row. |
Methods inherited from class org.apache.hadoop.hive.ql.exec.CommonJoinOperator |
---|
checkAndGenObject, getJoinOutputObjectInspector, getName, getNextSize, getPosToAliasMap, isFiltered, reportProgress, setPosToAliasMap, startGroup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JoinOperator()
Method Detail |
---|
protected void initializeOp(org.apache.hadoop.conf.Configuration hconf) throws HiveException
Operator
initializeOp
in class CommonJoinOperator<JoinDesc>
HiveException
public void processOp(Object row, int tag) throws HiveException
Operator
processOp
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
getType
in class Operator<JoinDesc>
public void closeOp(boolean abort) throws HiveException
closeOp
in class CommonJoinOperator<JoinDesc>
HiveException
public void jobClose(org.apache.hadoop.conf.Configuration hconf, boolean success, JobCloseFeedBack feedBack) throws HiveException
Operator
jobClose
in class Operator<JoinDesc>
hconf
- Configuration with with which job was submittedsuccess
- whether the job was completed successfully or not
HiveException
public void endGroup() throws HiveException
endGroup
in class CommonJoinOperator<JoinDesc>
HiveException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |