LMDBInitConfig class

Configuration class for LMDB initialization.

Use this class to configure database parameters during initialization.

Constructors

LMDBInitConfig({required int mapSize, int maxDbs = 1, String mode = "644"})
Creates a new configuration instance.
const
LMDBInitConfig.fromEstimate({required int expectedEntries, required int averageKeySize, required int averageValueSize, double overheadFactor = LMDBConfig.defaultOverheadFactor, int maxDbs = 1, int mode = 438})
Creates a configuration based on expected data characteristics.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
mapSize → int
Maximum database size in bytes
final
maxDbs → int
Maximum number of named databases
final
mode → String
File permissions in octal format (Unix)
final
modeAsInt → int
Converts the octal mode string to its integer representation.
no setter
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