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, values
equals, hashCode, isEmpty, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public MapFileInMemory(String filename, FixedSizeWriteableFactory<IK> _keyFactory, FixedSizeWriteableFactory<IV> _valueFactory) throws IOException
filename
- _keyFactory
- _valueFactory
- IOException
public MapFileInMemory(DataInputStream dataInputStream, int length, FixedSizeWriteableFactory<IK> keyfactory, FixedSizeWriteableFactory<IV> valuefactory) throws IOException
dataInputStream
- length
- keyfactory
- valuefactory
- IOException
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow