org.apache.hadoop.hive.ql.exec
Class SelectOperator

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.Operator<selectDesc>
      extended by org.apache.hadoop.hive.ql.exec.SelectOperator
All Implemented Interfaces:
Serializable, Node

public class SelectOperator
extends Operator<selectDesc>
implements Serializable

Select operator implementation

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.Operator
Operator.OperatorFunc, Operator.State
 
Field Summary
protected  ExprNodeEvaluator[] eval
           
 
Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator
alias, childOperators, conf, done, gWork, id, joinAlias, LOG, out, parentOperators, reporter, statsMap
 
Constructor Summary
SelectOperator()
           
 
Method Summary
 String getName()
          Implements the getName function for the Node Interface.
 void initialize(org.apache.hadoop.conf.Configuration hconf, org.apache.hadoop.mapred.Reporter reporter)
           
 void process(Object row, ObjectInspector rowInspector)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.Operator
close, dump, endGroup, forward, getChildOperators, getChildren, getConf, getDone, getParentOperators, getSchema, getStats, jobClose, logStats, preorderMap, resetStats, setAlias, setChildOperators, setConf, setDone, setId, setJoinAlias, setMapredWork, setOutputCollector, setParentOperators, setSchema, startGroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eval

protected transient ExprNodeEvaluator[] eval
Constructor Detail

SelectOperator

public SelectOperator()
Method Detail

initialize

public void initialize(org.apache.hadoop.conf.Configuration hconf,
                       org.apache.hadoop.mapred.Reporter reporter)
                throws HiveException
Overrides:
initialize in class Operator<selectDesc>
Throws:
HiveException

process

public void process(Object row,
                    ObjectInspector rowInspector)
             throws HiveException
Specified by:
process in class Operator<selectDesc>
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<selectDesc>
Returns:
the name of the operator


Copyright © 2009 The Apache Software Foundation