Database

Undocumented in source.

Constructors

this
this(DBOptions opts, string path, DBOptions[string] columnFamilies)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
createColumnFamily
ColumnFamily createColumnFamily(string name, DBOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.
getImpl
ubyte[] getImpl(ubyte[] key, ColumnFamily family, ReadOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.
iter
Iterator iter(ReadOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.
multiGet
ubyte[][] multiGet(ubyte[][] keys, ColumnFamily family, ReadOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.
multiGetString
string[] multiGetString(string[] keys, ColumnFamily family, ReadOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.
putImpl
void putImpl(ubyte[] key, ubyte[] value, ColumnFamily family, WriteOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.
removeImpl
void removeImpl(ubyte[] key, ColumnFamily family, WriteOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.
withBatch
void withBatch(void delegate(WriteBatch) dg, WriteOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.
withIter
void withIter(void delegate(Iterator) dg, ReadOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(WriteBatch batch, WriteOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin Getable
Undocumented in source.
__anonymous
mixin Putable
Undocumented in source.
__anonymous
mixin Removeable
Undocumented in source.

Static functions

listColumnFamilies
string[] listColumnFamilies(DBOptions opts, string path)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

columnFamilies
ColumnFamily[string] columnFamilies;
Undocumented in source.
db
rocksdb_t* db;
Undocumented in source.
opts
DBOptions opts;
Undocumented in source.
readOptions
ReadOptions readOptions;
Undocumented in source.
writeOptions
WriteOptions writeOptions;
Undocumented in source.

Mixed In Members

From mixin Getable

to (from std.conv)
public import std.conv : to;
Undocumented in source.
ReadOptions (from rocksdb.options)
class ReadOptions via public import rocksdb.options : ReadOptions, WriteOptions;
Undocumented in source.
WriteOptions (from rocksdb.options)
class WriteOptions via public import rocksdb.options : ReadOptions, WriteOptions;
Undocumented in source.
getString
string getString(string key, ReadOptions opts)

Get a key (as a string)

get
ubyte[] get(ubyte[] key, ReadOptions opts)

Get a key

From mixin Putable

putString
void putString(string key, string value, WriteOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(ubyte[] key, ubyte[] value, WriteOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.

From mixin Removeable

removeString
void removeString(string key, WriteOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(ubyte[] key, WriteOptions opts)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta