|
||||||||||
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.TerminalOperator<HashTableSinkDesc>
org.apache.hadoop.hive.ql.exec.HashTableSinkOperator
public class HashTableSinkOperator
Nested Class Summary | |
---|---|
static class |
HashTableSinkOperator.HashTableSinkObjectCtx
|
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 SessionState.LogHelper |
console
|
protected RowContainer<ArrayList<Object>> |
emptyList
|
protected int[][] |
filterMap
|
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>> |
joinKeys
The expressions for join inputs's join keys. |
protected Map<Byte,List<ObjectInspector>> |
joinKeysObjectInspectors
The ObjectInspectors for the join inputs's join keys. |
protected Map<Byte,List<ObjectInspector>> |
joinKeysStandardObjectInspectors
The standard ObjectInspectors for the join inputs's join keys. |
protected Map<Byte,List<ExprNodeEvaluator>> |
joinValues
The expressions for join outputs. |
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 Map<Byte,HashMapWrapper<AbstractMapJoinKey,MapJoinObjectValue>> |
mapJoinTables
|
protected boolean |
noOuterJoin
|
protected int |
numAliases
|
protected Byte[] |
order
|
protected int |
posBigTableAlias
|
protected int |
posBigTableTag
|
protected Map<Byte,List<ObjectInspector>> |
rowContainerStandardObjectInspectors
|
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 | |
---|---|
HashTableSinkOperator()
|
|
HashTableSinkOperator(MapJoinOperator mjop)
|
Method Summary | |
---|---|
void |
closeOp(boolean abort)
Operator specific close routine. |
String |
getName()
Implements the getName function for the Node Interface. |
static String |
getOperatorName()
|
protected static HashMap<Byte,List<ObjectInspector>> |
getStandardObjectInspectors(Map<Byte,List<ObjectInspector>> aliasToObjectInspectors)
|
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 |
processOp(Object row,
int tag)
Process the row. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient Map<Byte,List<ExprNodeEvaluator>> joinKeys
protected transient Map<Byte,List<ObjectInspector>> joinKeysObjectInspectors
protected transient Map<Byte,List<ObjectInspector>> joinKeysStandardObjectInspectors
protected transient int posBigTableTag
protected transient int posBigTableAlias
protected transient RowContainer<ArrayList<Object>> emptyList
protected transient int totalSz
protected transient Map<Byte,List<ExprNodeEvaluator>> joinFilters
protected transient int[][] filterMap
protected transient int numAliases
protected transient Map<Byte,List<ExprNodeEvaluator>> joinValues
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 Byte alias
protected transient Map<Byte,TableDesc> spillTableDesc
protected transient Map<Byte,HashMapWrapper<AbstractMapJoinKey,MapJoinObjectValue>> mapJoinTables
protected transient boolean noOuterJoin
protected transient SessionState.LogHelper console
Constructor Detail |
---|
public HashTableSinkOperator()
public HashTableSinkOperator(MapJoinOperator mjop)
Method Detail |
---|
protected void initializeOp(org.apache.hadoop.conf.Configuration hconf) throws HiveException
Operator
initializeOp
in class Operator<HashTableSinkDesc>
HiveException
protected static HashMap<Byte,List<ObjectInspector>> getStandardObjectInspectors(Map<Byte,List<ObjectInspector>> aliasToObjectInspectors)
public void processOp(Object row, int tag) throws HiveException
Operator
processOp
in class Operator<HashTableSinkDesc>
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 void closeOp(boolean abort) throws HiveException
Operator
closeOp
in class Operator<HashTableSinkDesc>
HiveException
public String getName()
getName
in interface Node
getName
in class Operator<HashTableSinkDesc>
public static String getOperatorName()
public OperatorType getType()
Operator
getType
in class Operator<HashTableSinkDesc>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |