K
- the key type, which must be WritableComparableV
- the value type, which must be WritableComparablepublic final class OrcMap<K extends WritableComparable,V extends WritableComparable> extends TreeMap<K,V> implements WritableComparable<OrcMap<K,V>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
OrcMap(TypeDescription schema) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OrcMap<K,V> other) |
boolean |
equals(Object other) |
int |
hashCode() |
void |
readFields(DataInput input) |
void |
write(DataOutput output) |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
isEmpty, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, getOrDefault, isEmpty, merge, putIfAbsent, remove
public OrcMap(TypeDescription schema)
public void write(DataOutput output) throws IOException
write
in interface Writable
IOException
public void readFields(DataInput input) throws IOException
readFields
in interface Writable
IOException
public int compareTo(OrcMap<K,V> other)
compareTo
in interface Comparable<OrcMap<K extends WritableComparable,V extends WritableComparable>>
public boolean equals(Object other)
equals
in interface Map<K extends WritableComparable,V extends WritableComparable>
equals
in class AbstractMap<K extends WritableComparable,V extends WritableComparable>
public int hashCode()
hashCode
in interface Map<K extends WritableComparable,V extends WritableComparable>
hashCode
in class AbstractMap<K extends WritableComparable,V extends WritableComparable>
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.