Interface WritableDataStore<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void clear()
      Clear the storage (resetting it to the default value).
      void delete​(DBIDRef id)
      Delete the contents for a particular ID and notifies the registered listeners.
      void destroy()
      Deallocate the storage, freeing the memory and notifies the registered listeners.
      T put​(DBIDRef id, T value)
      Associates the specified value with the specified id in this storage.
      • Methods inherited from interface elki.database.datastore.DataStore

        get
    • Method Detail

      • put

        T put​(DBIDRef id,
              T value)
        Associates the specified value with the specified id in this storage. If the storage previously contained a value for the id, the previous value is replaced by the specified value.
        Parameters:
        id - Database ID.
        value - Value to store.
        Returns:
        previous value
      • destroy

        void destroy()
        Deallocate the storage, freeing the memory and notifies the registered listeners.
      • delete

        void delete​(DBIDRef id)
        Delete the contents for a particular ID and notifies the registered listeners.
        Parameters:
        id - Database ID.
      • clear

        void clear()
        Clear the storage (resetting it to the default value).