com.splout.db.hadoop
Class CounterInterface

java.lang.Object
  extended by com.splout.db.hadoop.CounterInterface

public class CounterInterface
extends java.lang.Object

A wrapper around a common functionality used in Hadoop: using Counters. This wrapper is provided in RecordProcessor. We wrap certain functionality to be able to easily mock the Hadoop context, for example in sampling where we don't have a real Hadoop Context but we still don't want the user to care about NPE's in the RecordProcessor.


Method Summary
 org.apache.hadoop.mapreduce.Counter getCounter(java.lang.String group, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCounter

public org.apache.hadoop.mapreduce.Counter getCounter(java.lang.String group,
                                                      java.lang.String name)


Copyright © 2012-2013 Datasalt Systems S.L.. All Rights Reserved.