Class MapRedCounterAdapter

java.lang.Object
org.apache.parquet.hadoop.util.counters.mapred.MapRedCounterAdapter
All Implemented Interfaces:
ICounter

public class MapRedCounterAdapter extends Object implements ICounter
Adapt a mapred counter to ICounter
  • Constructor Details

    • MapRedCounterAdapter

      public MapRedCounterAdapter(org.apache.hadoop.mapred.Counters.Counter adaptee)
  • Method Details

    • increment

      public void increment(long val)
      Specified by:
      increment in interface ICounter
    • getCount

      public long getCount()
      Specified by:
      getCount in interface ICounter