org.apache.pig.tools.pigstats
Class PigStatusReporter

java.lang.Object
  extended by org.apache.hadoop.mapreduce.StatusReporter
      extended by org.apache.pig.tools.pigstats.PigStatusReporter
All Implemented Interfaces:
org.apache.hadoop.util.Progressable

@InterfaceAudience.Public
@InterfaceStability.Evolving
public class PigStatusReporter
extends org.apache.hadoop.mapreduce.StatusReporter
implements org.apache.hadoop.util.Progressable


Method Summary
 org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> name)
           
 org.apache.hadoop.mapreduce.Counter getCounter(String group, String name)
           
static PigStatusReporter getInstance()
          Get singleton instance of the context
 void progress()
           
static void setContext(org.apache.hadoop.mapreduce.TaskInputOutputContext context)
           
 void setStatus(String status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PigStatusReporter getInstance()
Get singleton instance of the context


setContext

public static void setContext(org.apache.hadoop.mapreduce.TaskInputOutputContext context)

getCounter

public org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> name)
Specified by:
getCounter in class org.apache.hadoop.mapreduce.StatusReporter

getCounter

public org.apache.hadoop.mapreduce.Counter getCounter(String group,
                                                      String name)
Specified by:
getCounter in class org.apache.hadoop.mapreduce.StatusReporter

progress

public void progress()
Specified by:
progress in interface org.apache.hadoop.util.Progressable
Specified by:
progress in class org.apache.hadoop.mapreduce.StatusReporter

setStatus

public void setStatus(String status)
Specified by:
setStatus in class org.apache.hadoop.mapreduce.StatusReporter


Copyright © ${year} The Apache Software Foundation