siddontang
ee7483204c
support writebatch count
8 years ago
zhangjinpeng1987
9ec9d74a1d
add set_iterate_upper_bound api for readoptions
8 years ago
Karl Hobley
cfa206a955
Fixed spelling mistake
8 years ago
Karl Hobley
651a2106fc
Added an Error type
...
This makes it easier for people who are using the try!() macro to convert errors into their own Error type. It isn't possible to diffrentiate between errors raised from RocksDB and other string errors at the moment.
This adds a simple ``Error`` type that wraps ``String``. People using RocksDB can now implement ``impl From<rocksdb::Error> for MyError`` and add custom behaviour for handling RocksDB errors.
8 years ago
Karl Hobley
7b2e1b91a7
Implement Debug for DB
8 years ago
siddontang
d856b804c0
save path for later use
8 years ago
Karl Hobley
c0e0331d0c
Add docstrings from RocksDB comments
...
All the docstrings were taken from 869ae5d786/include/rocksdb/options.h
8 years ago
siddontang
edb0859029
support get statistics
8 years ago
zhangjinpeng1987
42c5bb92dc
set num levels
8 years ago
zhangjinpeng1987
fa038809e1
enable statistics
8 years ago
zhangjinpeng1987
f542987ba7
wal recovery mode
8 years ago
Dylan Wen
ad09a5fbe1
add set_max_manifest_file_size for Options
8 years ago
zhangjinpeng1987
c884ee38b7
add set_level_zero_file_num_compaction_trigger api
8 years ago
zhangjinpeng1987
5454956385
add set_level0_compaction_trigger api
8 years ago
zhangjinpeng1987
c9e104a4e5
add filter policy interface && add set_cache_index_and_filter_blocks
8 years ago
zhangjinpeng1987
ab9028c778
DBComressionType copyable
8 years ago
zhangjinpeng1987
b9bcc0900e
add compression_per_level options
8 years ago
jinpeng zhang
a783093048
add report_gb_io_stats option
8 years ago
ngaut
0dfdc06ddf
*: add an option to disable write-ahead-log.
8 years ago
Jay Lee
f781adc84b
add allow os buffer conf
8 years ago
Jay Lee
f92f15f111
add lru cache conf
8 years ago
Jay Lee
e2c0877388
option: add max_bytes_for_level_base option
8 years ago
Jay Lee
85bc98462e
options: add compression option
8 years ago
Jesse Ezell
66c54929cf
add iterator_cf to snapshot
8 years ago
Tim Maddison
68e34bcb79
Added some documentation
8 years ago
timlyo
6e780cf4ac
main.rs is not used
8 years ago
Tyler Neely
aec7db81f2
Clean up code a bit, make clippy happier, use proper types.
9 years ago
Tyler Neely
8f445220bb
fix some clippy warnings
9 years ago
Tyler Neely
c005eb9c22
Bump libc crate to 0.2.10, fix the improper use of u64 where usize should have been used in some places.
9 years ago
Tyler Neely
740f3735d0
touchups to make arkpar's backport work
9 years ago
arkpar
cc6e143318
Changed ffi types to pointer for i686 compatibility
9 years ago
petevine
7e491ce913
Update ffi.rs
9 years ago
disksing
1b9484284c
export `iterator.valid()`
9 years ago
siddontang
b87bb3f255
support snapshot get/get_cf
9 years ago
ngaut
3916a06789
*: Tiny clean up.
9 years ago
ngaut
bb0ca27556
*: Fix clippy warnings.
9 years ago
Ceri Storey
a7f36e53b8
Export WriteOptions.
9 years ago
Ceri Storey
45d6436f0e
Format with rustfmt.
9 years ago
Ceri Storey
e36d9892e7
Add DB#write variant with WriteOptions.
9 years ago
Ceri Storey
14d02a3631
Add variants for other DB/Writable methods that take WriteOptions.
9 years ago
Ceri Storey
5744f128fe
Publicise.
9 years ago
Ceri Storey
4d4a140f9e
Export WriteOptions.
9 years ago
Ceri Storey
a1dd3f8f22
Add DB#put_cf_opt for WriteOptions.
9 years ago
Ceri Storey
df6d49506b
Add a DB#put_opt method for use with writeOptions.
9 years ago
Ceri Storey
c1c067f1f4
Start adding WriteOptions.
9 years ago
siddontang
e728a14a97
src: format codes.
9 years ago
petevine
83c055d43b
Fix ARM
9 years ago
Pete Hunt
09250315e8
More idiomatic iterators
9 years ago
Ben Edwards
d531fa7f3d
Change iterator to take handle
...
This changes the DBIterator interface to match the convention of taking
a handle over a string as per the other column-family-aware apis.
9 years ago
Tyler Neely
b4c3f3ab2f
Export SubDBIterator
9 years ago