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

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

public class ExtractOperator
extends Operator<extractDesc>
implements Serializable

Extract operator implementation Extracts a subobject and passes that on.

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
           
protected  InspectableObject result
           
 
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
ExtractOperator()
           
 
Method Summary
 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, getName, 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

result

protected transient InspectableObject result
Constructor Detail

ExtractOperator

public ExtractOperator()
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<extractDesc>
Throws:
HiveException

process

public void process(Object row,
                    ObjectInspector rowInspector)
             throws HiveException
Specified by:
process in class Operator<extractDesc>
Throws:
HiveException


Copyright © 2009 The Apache Software Foundation