HiveDefaultAdapter class
- Inheritance
-
- Object
- HiveAdapter<
Box< Map> > - HiveDefaultAdapter
Properties
- crashRecovery → bool?
-
If it supports crash recovery
finalinherited
- encryptionCipher → HiveCipher?
-
The encryption cypher
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String?
-
The path to the partition
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
Closes all partitions
inherited
-
create(
String name) → Future< void> -
Creates a partition
inherited
-
delete(
String name) → Future< void> -
Deletes a partition box
inherited
-
deleteAll(
) → Future< void> -
Deletes all the partition
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openBox(
String name) → Future< Box< Map> > -
Opens the box
override
-
partition(
String name) → Box< Map> ? -
Returns the partition box identified by
name
inherited -
partitionValue(
Box< Map> partition, String key) → Future<Map?> -
Returns the box value by key
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
build(
{String? path, HiveCipher? encryptionCipher, bool? crashRecovery}) → Future< HiveDefaultAdapter> - Builds a HiveDefaultAdapter.