T - The generic type of the keysR - The generic type of the valuespublic abstract class DiskMap<T extends Serializable,R extends Serializable> extends Object implements Map<T,R>, Iterable<R>
ExternalSpillableMap.| Modifier and Type | Field and Description |
|---|---|
protected String |
diskMapPath |
| Constructor and Description |
|---|
DiskMap(String basePath,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close and cleanup the Map.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesforEach, iterator, spliteratorprotected final String diskMapPath
public DiskMap(String basePath, String prefix) throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.