Class MapReduceCounterLoader
- java.lang.Object
-
- org.apache.parquet.hadoop.util.counters.mapreduce.MapReduceCounterLoader
-
- All Implemented Interfaces:
CounterLoader
public class MapReduceCounterLoader extends Object implements CounterLoader
Concrete factory for counters in mapred API, get a counter using mapreduce API when the corresponding flag is set, otherwise return a NullCounter
-
-
Constructor Summary
Constructors Constructor Description MapReduceCounterLoader(org.apache.hadoop.mapreduce.TaskAttemptContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICounter
getCounterByNameAndFlag(String groupName, String counterName, String counterFlag)
-
-
-
Method Detail
-
getCounterByNameAndFlag
public ICounter getCounterByNameAndFlag(String groupName, String counterName, String counterFlag)
- Specified by:
getCounterByNameAndFlag
in interfaceCounterLoader
-
-