Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Database.LSMTree.Extras.Index
Description
Provides additional support for working with fence pointer indexes and their accumulators.
Synopsis
- data Append
- appendToCompact :: Append -> IndexCompactAcc s -> ST s [Chunk]
- appendToOrdinary :: Append -> IndexOrdinaryAcc s -> ST s [Chunk]
- append :: Append -> IndexAcc s -> ST s [Chunk]
Documentation
Instruction for appending pages, to be used in conjunction with indexes.
Constructors
AppendSinglePage | Append a single page that fully comprises one or more key–value pairs. |
Fields
| |
AppendMultiPage | Append multiple pages that together comprise a single key–value pair. |
Fields
|
appendToCompact :: Append -> IndexCompactAcc s -> ST s [Chunk] Source #
Adds information about appended pages to a compact index and outputs newly available chunks.
See the documentation of the IndexAcc
type for constraints to adhere to.
appendToOrdinary :: Append -> IndexOrdinaryAcc s -> ST s [Chunk] Source #
Adds information about appended pages to an ordinary index and outputs newly available chunks.
See the documentation of the IndexAcc
type for constraints to adhere to.