public static class FSOrderedMapFile.MapFileInMemory<IK extends org.apache.hadoop.io.Writable,IV extends org.apache.hadoop.io.Writable> extends TreeMap<IK,IV> implements Map<IK,IV>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MapFileInMemory(DataInputStream dataInputStream,
int length,
FixedSizeWriteableFactory<IK> keyfactory,
FixedSizeWriteableFactory<IV> valuefactory)
constructor
|
MapFileInMemory(String filename,
FixedSizeWriteableFactory<IK> _keyFactory,
FixedSizeWriteableFactory<IV> _valueFactory)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
ceilingEntry, ceilingKey, 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, valuesequals, hashCode, isEmpty, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic MapFileInMemory(String filename, FixedSizeWriteableFactory<IK> _keyFactory, FixedSizeWriteableFactory<IV> _valueFactory) throws IOException
filename - _keyFactory - _valueFactory - IOExceptionpublic MapFileInMemory(DataInputStream dataInputStream, int length, FixedSizeWriteableFactory<IK> keyfactory, FixedSizeWriteableFactory<IV> valuefactory) throws IOException
dataInputStream - length - keyfactory - valuefactory - IOExceptionTerrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow