Class MapRedCounterLoader
java.lang.Object
org.apache.parquet.hadoop.util.counters.mapred.MapRedCounterLoader
- All Implemented Interfaces:
CounterLoader
Concrete factory for counters in mapred API,
get a counter using mapred API when the corresponding flag is set, otherwise return a NullCounter
-
Constructor Summary
ConstructorsConstructorDescriptionMapRedCounterLoader(org.apache.hadoop.mapred.Reporter reporter, org.apache.hadoop.conf.Configuration conf) -
Method Summary
Modifier and TypeMethodDescriptiongetCounterByNameAndFlag(String groupName, String counterName, String counterFlag)
-
Constructor Details
-
MapRedCounterLoader
public MapRedCounterLoader(org.apache.hadoop.mapred.Reporter reporter, org.apache.hadoop.conf.Configuration conf)
-
-
Method Details
-
getCounterByNameAndFlag
- Specified by:
getCounterByNameAndFlagin interfaceCounterLoader
-