org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.partitioners
Class CountingMap<K>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,Integer>
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.partitioners.CountingMap<K>
- All Implemented Interfaces:
- Serializable, Cloneable, Map<K,Integer>
public class CountingMap<K>
- extends HashMap<K,Integer>
- See Also:
- Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values |
CountingMap
public CountingMap()
put
public Integer put(K arg0,
Integer arg1)
- Specified by:
put
in interface Map<K,Integer>
- Overrides:
put
in class HashMap<K,Integer>
display
public void display()
getTotalCount
public long getTotalCount()
Copyright © 2007-2012 The Apache Software Foundation