org.apache.hadoop.mrunit.mapreduce.mock
Class MockReporter

java.lang.Object
  extended by org.apache.hadoop.mapreduce.StatusReporter
      extended by org.apache.hadoop.mrunit.mapreduce.mock.MockReporter

public class MockReporter
extends org.apache.hadoop.mapreduce.StatusReporter


Constructor Summary
MockReporter(org.apache.hadoop.mapreduce.Counters ctrs)
           
 
Method Summary
 org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> key)
           
 org.apache.hadoop.mapreduce.Counter getCounter(String group, String name)
           
 float getProgress()
           
 void progress()
           
 void setStatus(String status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockReporter

public MockReporter(org.apache.hadoop.mapreduce.Counters ctrs)
Method Detail

setStatus

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

progress

public void progress()
Specified by:
progress 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

getCounter

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

getProgress

public float getProgress()


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.