lsm-tree-0.1.0.0: Log-structured merge-trees
Safe HaskellSafe-Inferred
LanguageGHC2021

Database.LSMTree.Extras.Index

Description

Provides additional support for working with fence pointer indexes and their accumulators.

Synopsis

Documentation

data Append Source #

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

Instances

Instances details
NFData Append Source # 
Instance details

Defined in Database.LSMTree.Extras.Index

Methods

rnf :: Append -> () #

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.

append :: Append -> IndexAcc s -> ST s [Chunk] Source #

Adds information about appended pages to an index and outputs newly available chunks.

See the documentation of the IndexAcc type for constraints to adhere to.