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
pavel-mukhanov
892dea0fb7
Add changelog and comment.
6 years ago
wjhuang2016
fbc8c4ccb3
set_max_write_buffer_number
6 years ago
Oleksandr Anyshchenko
7c4bfb8735
Replace deprecated types
6 years ago
Oleksandr Anyshchenko
54ff3db8ec
Change a column family storing
6 years ago
pavel-mukhanov
10b1ef7f85
Implement Send and Sync for Snapshot.
6 years ago
Renar Narubin
5cc31aaff8
Add set_db_write_buffer_size to the Options API
6 years ago
Renar Narubin
6cf5be4a61
Add raw_iterator_cf_opt to the DB API
...
The underlying functionality already existed, but it wasn't exposed to
the top-level API.
6 years ago
Valerian Saliou
c7e08cfd4b
Add docs
6 years ago
Valerian Saliou
242d1bf8fd
Add docs
6 years ago
Valerian Saliou
a3b0047487
Fmt pass
6 years ago
Valerian Saliou
a4b60075b9
Add ‘flush’
...
Signed-off-by: Valerian Saliou <valerian@valeriansaliou.name>
6 years ago
xiaobogaga
f997a0a298
shorter comment
6 years ago
xiaobogaga
e99bf485ef
address comment ( #292 )
6 years ago
xiaobogaga
3cd5c606a7
add comment for ReadOptions.set_iterate_upper_bound method.
6 years ago
Valerian Saliou
d55b22ce16
Documented 'delete_range_cf'
6 years ago
Valerian Saliou
ff574e5a0c
cargo fmt pass on db.rs
6 years ago
Valerian Saliou
09da01d457
Update db.rs
6 years ago
Valerian Saliou
2613d0688e
Add comments + tests to delete_range()
6 years ago
Baptiste Jamin
7e07dacff9
Implement delete_range and delete_range_cf
6 years ago
Roman Zeyde
4701226097
Update DB::compact_range_cf() arguments to be consistent with other methods
6 years ago
Jordan Terrell
b51002bc58
Preparing for 0.12.1 release [skip ci]
6 years ago
Elichai Turkel
a3d0cdd8c7
Added docs to iterator_cf_opt
6 years ago
Oleksandr Anyshchenko
9f74dbcdb1
Added a possibility to enable mmap files for reads and writes
6 years ago
Elichai Turkel
57b903d769
Added a function to create iterator with specific CF and ReadOptions
6 years ago
Martin Ek
91a536d03b
Remove allocations from SliceTransform's callback
6 years ago
Jordan Terrell
b3c10809fe
Implementing AsRef<[u8]> for DBVector...
6 years ago
Rohit Joshi
b0160daaca
fixing cargo fmt --all
6 years ago
Rohit Joshi
a0b707ca30
adding DB::destroy()
6 years ago
Rohit Joshi
dfdabd08e8
cargo fmt check
6 years ago