Package org.apache.orc.mapred
Class OrcMap<K extends WritableComparable,V extends WritableComparable>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap<K,V>
org.apache.orc.mapred.OrcMap<K,V>
- Type Parameters:
K
- the key type, which must be WritableComparableV
- the value type, which must be WritableComparable
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<OrcMap<K,
,V>> Map<K,
,V> NavigableMap<K,
,V> SortedMap<K,
,V> Writable
,WritableComparable<OrcMap<K,
V>>
public final class OrcMap<K extends WritableComparable,V extends WritableComparable>
extends TreeMap<K,V>
implements WritableComparable<OrcMap<K,V>>
A TreeMap implementation that implements Writable.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
-
Method Summary
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
Methods inherited from class java.util.AbstractMap
isEmpty, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
getOrDefault, isEmpty, remove
-
Constructor Details
-
OrcMap
-
-
Method Details
-
write
- Specified by:
write
in interfaceWritable
- Throws:
IOException
-
readFields
- Specified by:
readFields
in interfaceWritable
- Throws:
IOException
-
compareTo
- Specified by:
compareTo
in interfaceComparable<K extends WritableComparable>
-
equals
- Specified by:
equals
in interfaceMap<K extends WritableComparable,
V extends WritableComparable> - Overrides:
equals
in classAbstractMap<K extends WritableComparable,
V extends WritableComparable>
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceMap<K extends WritableComparable,
V extends WritableComparable> - Overrides:
hashCode
in classAbstractMap<K extends WritableComparable,
V extends WritableComparable>
-