|
||||||||||
| 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<FilterDesc>
org.apache.hadoop.hive.ql.exec.FilterOperator
public class FilterOperator
Filter operator implementation.
| Nested Class Summary | |
|---|---|
static class |
FilterOperator.Counter
Counter. |
| Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.Operator |
|---|
Operator.OperatorFunc, Operator.State |
| Field Summary | |
|---|---|
protected org.apache.hadoop.io.LongWritable |
filtered_count
|
protected int |
heartbeatInterval
|
protected org.apache.hadoop.io.LongWritable |
passed_count
|
| Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator |
|---|
alias, childOperators, childOperatorsArray, childOperatorsTag, colExprMap, conf, done, groupKeyObject, groupKeyOI, HIVECOUNTERCREATEDFILES, HIVECOUNTERFATAL, id, inputObjInspectors, isLogInfoEnabled, LOG, operatorId, out, outputObjInspector, parentOperators, reporter, state, statsMap |
| Constructor Summary | |
|---|---|
FilterOperator()
|
|
| Method Summary | |
|---|---|
boolean |
columnNamesRowResolvedCanBeObtained()
|
String |
getName()
Implements the getName function for the Node Interface. |
static String |
getOperatorName()
|
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. |
boolean |
supportAutomaticSortMergeJoin()
Whether this operator supports automatic sort merge join. |
boolean |
supportSkewJoinOptimization()
|
boolean |
supportUnionRemoveOptimization()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final transient org.apache.hadoop.io.LongWritable filtered_count
protected final transient org.apache.hadoop.io.LongWritable passed_count
protected transient int heartbeatInterval
| Constructor Detail |
|---|
public FilterOperator()
| Method Detail |
|---|
protected void initializeOp(org.apache.hadoop.conf.Configuration hconf)
throws HiveException
Operator
initializeOp in class Operator<FilterDesc>HiveException
public void processOp(Object row,
int tag)
throws HiveException
Operator
processOp in class Operator<FilterDesc>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.
HiveExceptionpublic String getName()
Operator
getName in interface NodegetName in class Operator<FilterDesc>public static String getOperatorName()
public OperatorType getType()
Operator
getType in class Operator<FilterDesc>public boolean supportSkewJoinOptimization()
supportSkewJoinOptimization in class Operator<FilterDesc>public boolean columnNamesRowResolvedCanBeObtained()
columnNamesRowResolvedCanBeObtained in class Operator<FilterDesc>public boolean supportAutomaticSortMergeJoin()
Operator
supportAutomaticSortMergeJoin in class Operator<FilterDesc>public boolean supportUnionRemoveOptimization()
supportUnionRemoveOptimization in class Operator<FilterDesc>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||