Safe Haskell | None |
---|---|
Language | Haskell98 |
Directory tree database.
Directory database of B+ tree: huge DBM with order.
- Persistence: persistent
- Algorithm: B+ tree
- Complexity: O(log n)
- Sequence: custom order
- Lock unit: page (rwlock)
- data Forest
- data ForestOptions = ForestOptions {
- alignmentPow :: Maybe Int8
- freePoolPow :: Maybe Int8
- options :: [Options]
- buckets :: Maybe Int64
- maxSize :: Maybe Int64
- defragInterval :: Maybe Int64
- compressor :: Maybe Compressor
- cipherKey :: Maybe String
- pageSize :: Maybe Int64
- comparator :: Maybe Comparator
- pageCacheSize :: Maybe Int64
- defaultForestOptions :: ForestOptions
- data Compressor
- data Options = Compress
- data Comparator
- makeForest :: FilePath -> LoggingOptions -> ForestOptions -> Mode -> IO Forest
- openForest :: FilePath -> LoggingOptions -> Mode -> IO Forest
Documentation
data ForestOptions Source #
ForestOptions | |
|
data Compressor Source #
Compression algorithm used. DEFLATE
is the default one.
General tuning options
Compress | Enable compression of the keys and the values |
data Comparator Source #
Comparator used in the tree. Lexical
by default.
makeForest :: FilePath -> LoggingOptions -> ForestOptions -> Mode -> IO Forest Source #
openForest :: FilePath -> LoggingOptions -> Mode -> IO Forest Source #