|
||||||||||
| 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 |
|---|
| 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 short[] |
aliasFilterTags
|
protected JoinCondDesc[] |
condn
|
protected int |
countAfterReport
|
protected ArrayList<Object>[] |
dummyObj
|
protected RowContainer<ArrayList<Object>>[] |
dummyObjVectors
|
protected int[][] |
filterMaps
|
protected short[] |
filterTags
|
protected Object[] |
forwardCache
|
protected int |
heartbeatInterval
|
protected List[] |
intermediate
|
protected List<ObjectInspector>[] |
joinFilterObjectInspectors
The ObjectInspectors for join filters. |
protected List<ExprNodeEvaluator>[] |
joinFilters
The filters for join |
protected List<ExprNodeEvaluator>[] |
joinValues
The expressions for join inputs. |
protected List<ObjectInspector>[] |
joinValuesObjectInspectors
The ObjectInspectors for the join inputs. |
protected 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 int[] |
offsets
|
protected Byte[] |
order
|
protected List<ObjectInspector>[] |
rowContainerStandardObjectInspectors
The standard ObjectInspectors for the row container. |
protected boolean[][] |
skipVectors
|
protected 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 ArrayList<Object> |
getFilteredValue(byte alias,
Object row)
|
|
protected short |
getFilterTag(List<Object> row)
|
|
protected static
|
getJoinOutputObjectInspector(Byte[] order,
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(Configuration hconf)
Operator specific initialization. |
|
boolean |
opAllowedAfterMapJoin()
|
|
boolean |
opAllowedBeforeMapJoin()
|
|
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, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log LOG
protected transient int numAliases
protected transient List<ExprNodeEvaluator>[] joinValues
protected transient List<ExprNodeEvaluator>[] joinFilters
protected transient int[][] filterMaps
protected transient List<ObjectInspector>[] joinValuesObjectInspectors
protected transient List<ObjectInspector>[] joinFilterObjectInspectors
protected transient List<ObjectInspector>[] joinValuesStandardObjectInspectors
protected transient List<ObjectInspector>[] rowContainerStandardObjectInspectors
protected transient Byte[] order
protected transient JoinCondDesc[] condn
protected transient boolean[] nullsafes
public transient boolean noOuterJoin
protected transient ArrayList<Object>[] dummyObj
protected transient RowContainer<ArrayList<Object>>[] dummyObjVectors
protected transient int totalSz
protected transient TableDesc[] spillTableDesc
protected transient int countAfterReport
protected transient int heartbeatInterval
protected static final int NOTSKIPBIGTABLE
protected transient Byte alias
protected transient Object[] forwardCache
protected transient int[] offsets
protected transient boolean[][] skipVectors
protected transient List[] intermediate
protected transient short[] filterTags
protected transient short[] aliasFilterTags
| Constructor Detail |
|---|
public CommonJoinOperator()
public CommonJoinOperator(CommonJoinOperator<T> clone)
| Method Detail |
|---|
protected static <T extends JoinDesc> ObjectInspector getJoinOutputObjectInspector(Byte[] order,
List<ObjectInspector>[] aliasToObjectInspectors,
T conf)
protected void initializeOp(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>HiveExceptionprotected int getNextSize(int sz)
protected ArrayList<Object> getFilteredValue(byte alias,
Object row)
throws HiveException
HiveExceptionprotected final boolean hasFilter(int alias)
protected final short getFilterTag(List<Object> row)
public void endGroup()
throws HiveException
endGroup in class Operator<T extends JoinDesc>HiveException
protected void checkAndGenObject()
throws HiveException
HiveExceptionprotected void reportProgress()
public void closeOp(boolean abort)
throws HiveException
closeOp in class Operator<T extends JoinDesc>HiveExceptionpublic String getName()
Operator
getName in interface NodegetName 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 setpublic boolean opAllowedBeforeMapJoin()
opAllowedBeforeMapJoin in class Operator<T extends JoinDesc>public boolean opAllowedAfterMapJoin()
opAllowedAfterMapJoin in class Operator<T extends JoinDesc>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||