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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.MapredContext

public class MapredContext
extends Object

Runtime context of MapredTask providing additional information to GenericUDF


Method Summary
 JobConf getJobConf()
          Returns JobConf.
 Reporter getReporter()
          Returns Reporter, which is set right before reading the first row.
 boolean isMap()
          Returns whether the UDF is called from Map or Reduce task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isMap

public boolean isMap()
Returns whether the UDF is called from Map or Reduce task.


getReporter

public Reporter getReporter()
Returns Reporter, which is set right before reading the first row.


getJobConf

public JobConf getJobConf()
Returns JobConf.



Copyright © 2012 The Apache Software Foundation