Class RocksDbPersistentMap<K,V>
java.lang.Object
org.apache.hadoop.ozone.om.snapshot.RocksDbPersistentMap<K,V>
- All Implemented Interfaces:
PersistentMap<K,V>
Persistent map backed by RocksDB.
-
Constructor Summary
ConstructorsConstructorDescriptionRocksDbPersistentMap(org.apache.hadoop.hdds.utils.db.managed.ManagedRocksDB db, org.rocksdb.ColumnFamilyHandle columnFamilyHandle, org.apache.hadoop.hdds.utils.db.CodecRegistry codecRegistry, Class<K> keyType, Class<V> valueType) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.ozone.om.snapshot.PersistentMap
iterator
-
Constructor Details
-
RocksDbPersistentMap
-
-
Method Details
-
get
- Specified by:
getin interfacePersistentMap<K,V>
-
put
- Specified by:
putin interfacePersistentMap<K,V>
-
remove
- Specified by:
removein interfacePersistentMap<K,V>
-
iterator
public org.apache.hadoop.ozone.util.ClosableIterator<Map.Entry<K,V>> iterator(Optional<K> lowerBound, Optional<K> upperBound) - Specified by:
iteratorin interfacePersistentMap<K,V>
-