David Calavera
be96f049c9
Expose `open_with_ttl`. ( #425 )
5 years ago
Oleksandr Anyshchenko
334b4652b6
Add some doc-comments and tiny refactoring ( #424 )
5 years ago
Oleksandr Anyshchenko
d4023f2683
Add clippy linter in CI ( #417 )
5 years ago
wqfish
8f7124b488
Update doc for Options::set_compression_type ( #416 )
5 years ago
David Calavera
7105d0d2d2
Add support for open_as_secondary APIs. ( #406 )
5 years ago
wqfish
4ee65f451b
Fix doc for DBRawIterator::prev and next methods ( #405 )
5 years ago
wqfish
a8b77cfd8a
Add support for open_for_read_only APIs ( #402 )
5 years ago
wqfish
49c679f7f2
Add support for range delete APIs ( #403 )
5 years ago
Ivan Porto Carrero
a0e5d99a4a
Add some extra config options ( #399 )
5 years ago
David
3282b2fa22
Add support for data block hash index ( #358 )
5 years ago
wqfish
81aa0163b8
Make set_iterate_upper_bound method safe ( #377 )
5 years ago
Matt Bell
2ba70d304d
Atomic flush option ( #380 )
5 years ago
Jesse Rusak
8817fc7b1c
Refactor db.rs and lib.rs into smaller pieces ( #395 )
5 years ago
Nikolay Volf
122cf3ffea
Add a doc for optimize_level_style_compaction method ( #392 )
5 years ago
wqfish
24e016a57d
Fix lifetime parameter for iterators ( #391 )
5 years ago
wqfish
53b870c716
Change APIs that never return error to not return Result ( #383 )
5 years ago
wqfish
aa1aa97163
Fix doc for WriteBatch::delete ( #376 )
...
The function does nothing if the key is not found in DB. See
1dd7873e08/include/rocksdb/write_batch.h (L85)
Fixes https://github.com/rust-rocksdb/rust-rocksdb/issues/352
5 years ago
wqfish
4f9524bd36
Move to Rust 2018 ( #375 )
5 years ago
wqfish
04e75d6ae5
Fix potential segfault when calling next on DBIterator that is at the end of the range ( #374 )
5 years ago
wqfish
a01815d574
Minor cleanup in db.rs ( #373 )
...
Reuse the to_cpath function and avoid unnecessary line break.
5 years ago
wqfish
55ed8cbd16
Add flush_cf method to DB ( #372 )
5 years ago
zhangsoledad
0c355225fa
Simplify conversion on iterator item ( #364 )
5 years ago
wqfish
811933be96
Add set_max_total_wal_size to Options ( #366 )
5 years ago
Steve Yen
bf85e771be
Fix minor doc typo ( #367 )
5 years ago
Patrick
c09e2b0d27
Options: add set_ratelimiter ( #369 )
5 years ago
wqfish
22f36ce97f
Improve ffi_try macro to make trailing comma optional ( #371 )
5 years ago
Andronik Ordian
64bd098993
Expose format version ( #357 )
5 years ago
Andronik Ordian
52ebdb5219
DB::repair: pass Options by ref ( #350 )
5 years ago
Andronik Ordian
6c7f6af7d7
Options: add set_verify_checksums and set_level_compaction_dynamic_level_bytes ( #349 )
5 years ago
Gary Guo
473b1671c7
Always use pinnable slice for get operations ( #345 )
5 years ago
Gary Guo
266b83efd0
DBRawIterator can be Sync
5 years ago
Gary Guo
23608e905e
Avoid copy in DBRawIterator::{key, value}
...
Thanks to Rust's lifetime and borrow checker, it's completely safe
to access internal buffer without copying.
5 years ago
Lucjan Suski
bb65693abe
Add example
5 years ago
Lucjan Suski
f64c74cc2e
Formatting
5 years ago
Lucjan Suski
421149b4da
Formatting
5 years ago
Lucjan Suski
f4d1e81e04
Add example, fix type
5 years ago
Lucjan Suski
9c06fab60f
Allow setting optimize_filter_for_hits
5 years ago
Lucjan Suski
845a332fd3
There is no enabled param on compression options
5 years ago
Lucjan Suski
e44633dde7
Enable set_compression_options
5 years ago
Lucjan Suski
955336556d
Allow to set max_dict_bytes and zstd_max_training_bytes
5 years ago
Nicolas Gotchac
2096f04092
Add lifetimes for `DBIterator` return types ( #294 )
5 years ago
Oleksandr Anyshchenko
e54f70b2cc
Remove unnecessary trailing semicolon
5 years ago
Christopher Bradfield
7e15637df5
Add set_tailing to the ReadOptions struct to support tailing iterators.
...
Fixes : #149
5 years ago
Nathan Fiedler
6e39fd715b
Add get_updates_since() wrapper and its iterator ( #332 )
5 years ago
Oleksandr Anyshchenko
a05151f6ae
Merge with master and update changelog
5 years ago
rnarubin
f435fa7e75
Expose the `status` method on iterators ( #302 )
5 years ago
Ilya Bogdanov
932a70e1f1
Add `DB::latest_sequence_number` method. ( #326 )
5 years ago
Clément Renault
c5e8c9f5ef
fix: Make the set_iterate_upper_bound ReadOptions method unsafe ( #309 )
5 years ago
rnarubin
9e75179e77
Implement Send and Sync for useful types ( #318 )
...
The Send and Sync traits aren't auto-implemented on the many types which
wrap a raw pointer to some RocksDB struct. Most of these types are
nevertheless safe to use in Send and Sync context, so they should be
marked as such
5 years ago
Renar Narubin
1159f31987
Document the raw_iterator methods
6 years ago