org.apache.hadoop.hive.ql.exec
Class UnionOperator
java.lang.Object
org.apache.hadoop.hive.ql.exec.Operator<UnionDesc>
org.apache.hadoop.hive.ql.exec.UnionOperator
- All Implemented Interfaces:
- Serializable, Cloneable, Node
public class UnionOperator
- extends Operator<UnionDesc>
- implements Serializable
Union Operator Just forwards. Doesn't do anything itself.
- See Also:
- Serialized Form
Methods inherited from class org.apache.hadoop.hive.ql.exec.Operator |
acceptLimitPushdown, augmentPlan, cleanUpInputFileChanged, cleanUpInputFileChangedOp, clone, cloneOp, cloneRecursiveChildren, close, columnNamesRowResolvedCanBeObtained, dump, dump, endGroup, flush, getChildOperators, getChildren, getColumnExprMap, getConf, getConfiguration, getDone, getExecContext, getGroupKeyObject, getGroupKeyObjectInspector, getIdentifier, getInputObjInspectors, getNumChild, getNumParent, getOperatorId, getOpTraits, getOutputObjInspector, getParentOperators, getSchema, getStatistics, getStats, initialize, initializeLocalWork, initOperatorId, isUseBucketizedHiveInputFormat, jobClose, jobCloseOp, logStats, opAllowedConvertMapJoin, passExecContext, preorderMap, processGroup, removeChild, removeChildAndAdoptItsChildren, removeChildren, removeParent, replaceChild, replaceParent, reset, resetId, resetStats, setAlias, setChildOperators, setColumnExprMap, setConf, setExecContext, setGroupKeyObject, setGroupKeyObjectInspector, setId, setInputObjInspectors, setOperatorId, setOpTraits, setOutputCollector, setParentOperators, setReporter, setSchema, setStatistics, setUseBucketizedHiveInputFormat, startGroup, supportAutomaticSortMergeJoin, supportSkewJoinOptimization, supportUnionRemoveOptimization, toString, toString |
UnionOperator
public UnionOperator()
processOp
public void processOp(Object row,
int tag)
throws HiveException
- Description copied from class:
Operator
- Process the row.
- Specified by:
processOp
in class Operator<UnionDesc>
- Parameters:
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.
- Throws:
HiveException
getName
public String getName()
- Description copied from class:
Operator
- Implements the getName function for the Node Interface.
- Specified by:
getName
in interface Node
- Overrides:
getName
in class Operator<UnionDesc>
- Returns:
- the name of the operator
getOperatorName
public static String getOperatorName()
getType
public org.apache.hadoop.hive.ql.plan.api.OperatorType getType()
- Description copied from class:
Operator
- Return the type of the specific operator among the
types in OperatorType.
- Specified by:
getType
in class Operator<UnionDesc>
- Returns:
- OperatorType.*
opAllowedBeforeMapJoin
public boolean opAllowedBeforeMapJoin()
- Union operators are not allowed either before or after a explicit mapjoin hint.
Note that, the same query would just work without the mapjoin hint (by setting
hive.auto.convert.join to true).
- Overrides:
opAllowedBeforeMapJoin
in class Operator<UnionDesc>
opAllowedAfterMapJoin
public boolean opAllowedAfterMapJoin()
- Overrides:
opAllowedAfterMapJoin
in class Operator<UnionDesc>
opAllowedBeforeSortMergeJoin
public boolean opAllowedBeforeSortMergeJoin()
- Overrides:
opAllowedBeforeSortMergeJoin
in class Operator<UnionDesc>
Copyright © 2014 The Apache Software Foundation. All rights reserved.