Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module describing the tree structure of the free page database.
- type FreeTree = Tree TxId FreeSubtree
- type FreeSubtree = NonEmptyTree PageId ()
- replaceSubtree :: AllocM m => TxId -> NonEmpty PageId -> FreeTree -> m FreeTree
- deleteSubtree :: AllocM m => TxId -> FreeTree -> m FreeTree
- insertSubtree :: AllocM m => TxId -> NonEmpty PageId -> FreeTree -> m FreeTree
Documentation
type FreeTree = Tree TxId FreeSubtree Source #
The main tree structure of the free page database.
The main free page database tree maps a TxId
to a FreeSubtree
.
type FreeSubtree = NonEmptyTree PageId () Source #
the subtree structure of the free page database.
Just a collection of free PageId
s.
replaceSubtree :: AllocM m => TxId -> NonEmpty PageId -> FreeTree -> m FreeTree Source #
Replace the subtree of a certain TxId
.