| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Database.KyotoCabinet.DB.Dir
Description
Directory hash database.
Respective files stored in a directory of the file system.
- Persistence: persistent
- Algorithm: undefined
- Complexity: undefined
- Sequence: undefined
- Lock unit: record (rwlock)
- data Dir
- data DirOptions = DirOptions {
- alignmentPow :: Maybe Int8
- freePoolPow :: Maybe Int8
- options :: [Options]
- buckets :: Maybe Int64
- maxSize :: Maybe Int64
- defragInterval :: Maybe Int64
- compressor :: Maybe Compressor
- cipherKey :: Maybe String
- defaultDirOptions :: DirOptions
- data Compressor
- data Options = Compress
- data Comparator
- makeDir :: FilePath -> LoggingOptions -> DirOptions -> Mode -> IO Dir
- openDir :: FilePath -> LoggingOptions -> Mode -> IO Dir
Documentation
data DirOptions Source #
Constructors
| DirOptions | |
Fields
| |
Instances
data Compressor Source #
Compression algorithm used. DEFLATE is the default one.
Constructors
| Zlib | The raw zlib compressor |
| DEFLATE | zlib deflate compressor |
| Gz | zlib gzip compressor |
| LZO | LZO compressor |
| LZMA | LZMA compressor |
| Arc | Arcfour cipher |
Instances
General tuning options
Constructors
| Compress | Enable compression of the keys and the values |
makeDir :: FilePath -> LoggingOptions -> DirOptions -> Mode -> IO Dir Source #