org.apache.hadoop.hive.ql.exec
Class FilterOperator
java.lang.Object
org.apache.hadoop.hive.ql.exec.Operator<FilterDesc>
org.apache.hadoop.hive.ql.exec.FilterOperator
- All Implemented Interfaces:
- Serializable, Cloneable, Node
public class FilterOperator
- extends Operator<FilterDesc>
- implements Serializable
Filter operator implementation.
- See Also:
- Serialized Form
Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator |
alias, beginTime, childOperators, childOperatorsArray, childOperatorsTag, colExprMap, conf, counterNames, counterNameToEnum, counters, done, fatalErrorCntr, groupKeyObject, id, inputObjInspectors, inputRows, isLogInfoEnabled, LOG, numInputRowsCntr, numOutputRowsCntr, operatorId, out, outputObjInspector, outputRows, parentOperators, reporter, state, statsMap, timeTakenCntr, totalTime |
Methods inherited from class org.apache.hadoop.hive.ql.exec.Operator |
allInitializedParentsAreClosed, areAllParentsInitialized, assignCounterNameToEnum, augmentPlan, checkFatalErrors, cleanUpInputFileChanged, cleanUpInputFileChangedOp, clone, close, closeOp, dump, dump, endGroup, fatalErrorMessage, forward, getAdditionalCounters, getChildOperators, getChildren, getColumnExprMap, getConf, getCounterNames, getCounterNameToEnum, getCounters, getDone, getExecContext, getGroupKeyObject, getIdentifier, getInputObjInspectors, getOperatorId, getParentOperators, getSchema, getStats, getWrappedCounterName, incrCounter, initEvaluators, initEvaluators, initEvaluatorsAndReturnStruct, initialize, initializeChildren, initializeCounters, initializeLocalWork, initOperatorId, isUseBucketizedHiveInputFormat, jobClose, jobCloseOp, logStats, passExecContext, preorderMap, process, removeChild, removeChildAndAdoptItsChildren, removeChildren, removeParent, replaceChild, replaceParent, reset, resetId, resetLastEnumUsed, resetStats, setAlias, setChildOperators, setColumnExprMap, setConf, setCounterNames, setCounterNameToEnum, setDone, setExecContext, setGroupKeyObject, setId, setInputObjInspectors, setOperatorId, setOutputCollector, setParentOperators, setReporter, setSchema, setUseBucketizedHiveInputFormat, startGroup, updateCounters |
FilterOperator
public FilterOperator()
initializeOp
protected void initializeOp(org.apache.hadoop.conf.Configuration hconf)
throws HiveException
- Description copied from class:
Operator
- Operator specific initialization.
- Overrides:
initializeOp
in class Operator<FilterDesc>
- Throws:
HiveException
processOp
public void processOp(Object row,
int tag)
throws HiveException
- Description copied from class:
Operator
- Process the row.
- Specified by:
processOp
in class Operator<FilterDesc>
- 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<FilterDesc>
- Returns:
- the name of the operator
getOperatorName
public static String getOperatorName()
getType
public 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<FilterDesc>
- Returns:
- OperatorType.*
supportSkewJoinOptimization
public boolean supportSkewJoinOptimization()
- Overrides:
supportSkewJoinOptimization
in class Operator<FilterDesc>
columnNamesRowResolvedCanBeObtained
public boolean columnNamesRowResolvedCanBeObtained()
- Overrides:
columnNamesRowResolvedCanBeObtained
in class Operator<FilterDesc>
supportUnionRemoveOptimization
public boolean supportUnionRemoveOptimization()
- Overrides:
supportUnionRemoveOptimization
in class Operator<FilterDesc>
Copyright © 2011 The Apache Software Foundation