HHiveCore class
Low-level Hive wrapper for managing box collections. Handles initialization and box lifecycle management.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- HIVE_BOX_COLLECTION_NAME ↔ String
-
getter/setter pair
- HIVE_CIPHER ↔ HiveCipher?
-
getter/setter pair
- HIVE_INIT_PATH ↔ String?
-
getter/setter pair
- HIVE_STORAGE_BACKEND_PREFERENCE ↔ HiveStorageBackendPreference
-
getter/setter pair
Static Methods
-
dispose(
String env) → Future< void> - Flushes and closes boxes for the given environment.
-
getBox(
String env) → Future< CollectionBox< String> > - Retrieves or opens a box for the given environment.
-
getMetaBox(
String env) → Future< CollectionBox< String> ?> - Retrieves the metadata box for an environment if metadata is enabled.
-
initialize(
) → Future< void> - Initializes Hive and opens all registered box collections. Must be called before using any HHive instances.