|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.splout.db.hadoop.CounterInterface
public class CounterInterface
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 |
---|
public org.apache.hadoop.mapreduce.Counter getCounter(java.lang.String group, java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |