DatabaseStats class

Represents statistical information about an LMDB database.

This class provides detailed metrics about the database structure, including page allocation and B+ tree characteristics.

Constructors

DatabaseStats.new({required int pageSize, required int depth, required int branchPages, required int leafPages, required int overflowPages, required int entries})
Creates a new DatabaseStats instance.

Properties

branchPages int
Number of branch pages in the B+ tree.
final
depth int
Depth of the B+ tree.
final
entries int
Total number of entries (key-value pairs) in the database.
final
hashCode int
The hash code for this object.
no setterinherited
leafPages int
Number of leaf pages in the B+ tree.
final
overflowPages int
Number of overflow pages.
final
pageSize int
Size of a database page in bytes.
final
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
Returns a string representation of the database statistics.
override

Operators

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