|
||||||||||
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<T>
public abstract class CommonJoinOperator<T extends JoinDesc>
Join operator implementation.
Nested Class Summary | |
---|---|
static class |
CommonJoinOperator.IntermediateObject
IntermediateObject. |
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.Operator |
---|
Operator.OperatorFunc, Operator.ProgressCounter, Operator.State |
Field Summary | |
---|---|
protected Byte |
alias
|
protected JoinCondDesc[] |
condn
|
protected int |
countAfterReport
|
protected Object[] |
dummyObj
|
protected RowContainer<ArrayList<Object>>[] |
dummyObjVectors
|
protected int[][] |
filterMap
|
protected int |
heartbeatInterval
|
protected Map<Byte,List<ObjectInspector>> |
joinFilterObjectInspectors
The ObjectInspectors for join filters. |
protected Map<Byte,List<ExprNodeEvaluator>> |
joinFilters
The filters for join |
protected Map<Byte,List<ExprNodeEvaluator>> |
joinValues
The expressions for join inputs. |
protected Map<Byte,List<ObjectInspector>> |
joinValuesObjectInspectors
The ObjectInspectors for the join inputs. |
protected Map<Byte,List<ObjectInspector>> |
joinValuesStandardObjectInspectors
The standard ObjectInspectors for the join inputs. |
protected static org.apache.commons.logging.Log |
LOG
|
boolean |
noOuterJoin
|
protected static int |
NOTSKIPBIGTABLE
|
protected boolean[] |
nullsafes
|
protected int |
numAliases
|
protected Byte[] |
order
|
protected Map<Byte,List<ObjectInspector>> |
rowContainerStandardObjectInspectors
The standard ObjectInspectors for the row container. |
protected Map<Byte,TableDesc> |
spillTableDesc
|
protected int |
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 | |
---|---|
CommonJoinOperator()
|
|
CommonJoinOperator(CommonJoinOperator<T> clone)
|
Method Summary | ||
---|---|---|
protected void |
checkAndGenObject()
|
|
void |
closeOp(boolean abort)
All done. |
|
void |
endGroup()
Forward a record of join results. |
|
protected static
|
getJoinOutputObjectInspector(Byte[] order,
Map<Byte,List<ObjectInspector>> aliasToObjectInspectors,
T conf)
|
|
String |
getName()
Implements the getName function for the Node Interface. |
|
protected int |
getNextSize(int sz)
|
|
static String |
getOperatorName()
|
|
Map<Integer,Set<String>> |
getPosToAliasMap()
|
|
protected boolean |
hasFilter(int alias)
|
|
protected void |
initializeOp(org.apache.hadoop.conf.Configuration hconf)
Operator specific initialization. |
|
protected void |
reportProgress()
|
|
void |
setPosToAliasMap(Map<Integer,Set<String>> posToAliasMap)
|
|
void |
startGroup()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.commons.logging.Log LOG
protected transient int numAliases
protected transient Map<Byte,List<ExprNodeEvaluator>> joinValues
protected transient Map<Byte,List<ExprNodeEvaluator>> joinFilters
protected transient int[][] filterMap
protected transient Map<Byte,List<ObjectInspector>> joinValuesObjectInspectors
protected transient Map<Byte,List<ObjectInspector>> joinFilterObjectInspectors
protected transient Map<Byte,List<ObjectInspector>> joinValuesStandardObjectInspectors
protected transient Map<Byte,List<ObjectInspector>> rowContainerStandardObjectInspectors
protected transient Byte[] order
protected transient JoinCondDesc[] condn
protected transient boolean[] nullsafes
public transient boolean noOuterJoin
protected transient Object[] dummyObj
protected transient RowContainer<ArrayList<Object>>[] dummyObjVectors
protected transient int totalSz
protected transient Map<Byte,TableDesc> spillTableDesc
protected transient int countAfterReport
protected transient int heartbeatInterval
protected static final int NOTSKIPBIGTABLE
protected transient Byte alias
Constructor Detail |
---|
public CommonJoinOperator()
public CommonJoinOperator(CommonJoinOperator<T> clone)
Method Detail |
---|
protected static <T extends JoinDesc> ObjectInspector getJoinOutputObjectInspector(Byte[] order, Map<Byte,List<ObjectInspector>> aliasToObjectInspectors, T conf)
protected void initializeOp(org.apache.hadoop.conf.Configuration hconf) throws HiveException
Operator
initializeOp
in class Operator<T extends JoinDesc>
HiveException
public void startGroup() throws HiveException
startGroup
in class Operator<T extends JoinDesc>
HiveException
protected int getNextSize(int sz)
public void endGroup() throws HiveException
endGroup
in class Operator<T extends JoinDesc>
HiveException
protected void checkAndGenObject() throws HiveException
HiveException
protected final boolean hasFilter(int alias)
protected void reportProgress()
public void closeOp(boolean abort) throws HiveException
closeOp
in class Operator<T extends JoinDesc>
HiveException
public String getName()
Operator
getName
in interface Node
getName
in class Operator<T extends JoinDesc>
public static String getOperatorName()
public Map<Integer,Set<String>> getPosToAliasMap()
public void setPosToAliasMap(Map<Integer,Set<String>> posToAliasMap)
posToAliasMap
- the posToAliasMap to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |