muesli-0.1.0.0: A simple document-oriented database

Copyright(c) 2015 Călin Ardelean
LicenseMIT
MaintainerCălin Ardelean <calinucs@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Database.Muesli.Indexes

Description

Incremental database index update functions.

Used during loading, query evaluation, and GC.

Synopsis

Documentation

updateMainIdx :: MainIndex -> [LogRecord] -> MainIndex Source

Updates the MainIndex (allocation table).

updateRefIdx :: FilterIndex -> [LogRecord] -> FilterIndex Source

Updates the FilterIndex.

Calls updateSortIdx for the internal sorted indexes.

updateSortIdx :: SortIndex -> [LogRecord] -> SortIndex Source

Updates the main SortIndex, and also the SortIndexes inside a FilterIndex.