HiveAdapter<T extends BoxBase<Map> > class
abstract
The HiveAdapter provides a bridge between the store and the Hive backend
- Inheritance
-
- Object
- CacheStoreAdapter
- HiveAdapter
- Implementers
Constructors
- HiveAdapter(String path, {HiveCipher? encryptionCipher, bool? crashRecovery})
- Builds a HiveAdapter.
Properties
- crashRecovery → bool?
-
If it supports crash recovery
final
- encryptionCipher → HiveCipher?
-
The encryption cypher
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String
-
The path to the box
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
boxValue(
T store, String key) → Future< Map?> - Returns the box value by key
-
delete(
String name) → Future< void> -
Deletes a named cache from a store or the store itself if a named cache is
stored individually
override
-
deleteAll(
) → Future< void> -
Deletes the store a if a store is implemented in a way that puts all the
named caches in one storage, or stores(s) if multiple storages are used
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openBox(
String name) → Future< T> - Opens the box
-
store(
String name) → Future< T> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited