| Copyright | (c) 2015 Călin Ardelean |
|---|---|
| License | MIT |
| Maintainer | Călin Ardelean <calinucs@gmail.com> |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Database.Muesli.Indexes
Description
Incremental database index update functions.
Used during loading, query evaluation, and GC.
- updateMainIdx :: MainIndex -> [LogRecord] -> MainIndex
- updateRefIdx :: FilterIndex -> [LogRecord] -> FilterIndex
- updateSortIdx :: SortIndex -> [LogRecord] -> SortIndex
- updateUnqIdx :: UniqueIndex -> [LogRecord] -> UniqueIndex
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.
updateUnqIdx :: UniqueIndex -> [LogRecord] -> UniqueIndex Source
Updates the UniqueIndex.