HiveAdapter<T extends BoxBase<Map>> class abstract

The HiveAdapter provides a bridge between the store and the Hive backend

Implementers

Constructors

HiveAdapter({String? path, HiveCipher? encryptionCipher, bool? crashRecovery})
HiveAdapter constructor

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 partition
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes all partitions
create(String name) Future<void>
Creates a partition
delete(String name) Future<void>
Deletes a partition box
deleteAll() Future<void>
Deletes all the partition
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openBox(String name) Future<T>
Opens the box
partition(String name) → T?
Returns the partition box identified by name
partitionValue(T partition, String key) Future<Map?>
Returns the box value by key
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited