org.apache.hadoop.hive.ql.exec
Class MapOperator
java.lang.Object
org.apache.hadoop.hive.ql.exec.Operator<mapredWork>
org.apache.hadoop.hive.ql.exec.MapOperator
- All Implemented Interfaces:
- Serializable, Node
public class MapOperator
- extends Operator<mapredWork>
- implements Serializable
Map operator. This triggers overall map side processing.
This is a little different from regular operators in that
it starts off by processing a Writable data structure from
a Table (instead of a Hive Object).
- See Also:
- Serialized Form
Fields inherited from class org.apache.hadoop.hive.ql.exec.Operator |
alias, childOperators, conf, done, gWork, id, joinAlias, LOG, out, parentOperators, reporter, statsMap |
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 |
MapOperator
public MapOperator()
initialize
public void initialize(org.apache.hadoop.conf.Configuration hconf,
org.apache.hadoop.mapred.Reporter reporter)
throws HiveException
- Overrides:
initialize
in class Operator<mapredWork>
- Throws:
HiveException
process
public void process(org.apache.hadoop.io.Writable value)
throws HiveException
- Throws:
HiveException
process
public void process(Object row,
ObjectInspector rowInspector)
throws HiveException
- Specified by:
process
in class Operator<mapredWork>
- Throws:
HiveException
Copyright © 2009 The Apache Software Foundation