tokyocabinet-haskell-0.0.5: Haskell binding of Tokyo Cabinet

Database.TokyoCabinet.TDB.C

Synopsis

Documentation

data OpenMode Source

Represents open mode

Constructors

OREADER

read only mode

OWRITER

write mode

OCREAT

if this value is included in open mode list, `open function' creates a new database if not exist.

OTRUNC

creates a new database regardless if one exists

ONOLCK

open the database file without file locking

OLCKNB

open the database file with locking performed without blocking.

OTSYNC

every transaction synchronizes updated contents with the device

data IndexType Source

Represents the index type

Constructors

ITLEXICAL

for lexical string

ITDECIMAL

for decimal string

ITOPT

the index is optimized

ITVOID

the index is removed

ITKEEP IndexType

if the index exists, setindex function merely returns failure

data TDB Source

Constructors

TDB 

Fields

unTCTDB :: !(ForeignPtr TDB')
 

Instances