Interface PersistentMap<K,V>

All Known Implementing Classes:
RocksDbPersistentMap

public interface PersistentMap<K,V>
Define an interface for persistent map.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(K key)
     
    default org.apache.hadoop.ozone.util.ClosableIterator<Map.Entry<K,V>>
     
    org.apache.hadoop.ozone.util.ClosableIterator<Map.Entry<K,V>>
    iterator(Optional<K> lowerBoundKey, Optional<K> upperBoundKey)
     
    void
    put(K key, V value)
     
    void
    remove(K key)
     
  • Method Details

    • get

      V get(K key)
    • put

      void put(K key, V value)
    • remove

      void remove(K key)
    • iterator

      default org.apache.hadoop.ozone.util.ClosableIterator<Map.Entry<K,V>> iterator()
    • iterator

      org.apache.hadoop.ozone.util.ClosableIterator<Map.Entry<K,V>> iterator(Optional<K> lowerBoundKey, Optional<K> upperBoundKey)