Copyright | (c) 2012-2013 The leveldb-haskell Authors |
---|---|
License | BSD3 |
Maintainer | kim.altintop@gmail.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
- data BatchOp
- newtype BloomFilter = BloomFilter FilterPolicyPtr
- newtype Comparator = Comparator (ByteString -> ByteString -> Ordering)
- data Compression
- data FilterPolicy = FilterPolicy {
- fpName :: String
- createFilter :: [ByteString] -> ByteString
- keyMayMatch :: ByteString -> ByteString -> Bool
- data Options = Options {
- blockRestartInterval :: !Int
- blockSize :: !Int
- cacheSize :: !Int
- comparator :: !(Maybe Comparator)
- compression :: !Compression
- createIfMissing :: !Bool
- errorIfExists :: !Bool
- maxOpenFiles :: !Int
- paranoidChecks :: !Bool
- writeBufferSize :: !Int
- filterPolicy :: !(Maybe (Either BloomFilter FilterPolicy))
- data Property
- data ReadOptions = ReadOptions {
- verifyCheckSums :: !Bool
- fillCache :: !Bool
- useSnapshot :: !(Maybe Snapshot)
- newtype Snapshot = Snapshot SnapshotPtr
- type WriteBatch = [BatchOp]
- data WriteOptions = WriteOptions {}
- defaultOptions :: Options
- defaultReadOptions :: ReadOptions
- defaultWriteOptions :: WriteOptions
Documentation
data FilterPolicy Source
User-defined filter policy
FilterPolicy | |
|
Options when opening a database
Options | |
|
Properties exposed by LevelDB
data ReadOptions Source
Options for read operations
ReadOptions | |
|
type WriteBatch = [BatchOp] Source
data WriteOptions Source
Options for write operations
WriteOptions | |
|