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
5 years ago
pavel-mukhanov
892dea0fb7
Add changelog and comment.
5 years ago
pavel-mukhanov
10b1ef7f85
Implement Send and Sync for Snapshot.
5 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
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
Elichai Turkel
57b903d769
Added a function to create iterator with specific CF and ReadOptions
6 years ago
Jordan Terrell
b3c10809fe
Implementing AsRef<[u8]> for DBVector...
6 years ago
Oleksandr Anyshchenko
e7f5c24105
Applied clippy lints
6 years ago
Jordan Terrell
df12ddbd57
Adding more documentation to ReadOptions.set_readahead_size [skip ci]...
6 years ago
Jordan Terrell
562f413f4c
Making DB.create_cf generic...
6 years ago
Jordan Terrell
0a8aa1b636
Adding set_readahead_size setter to ReadOptions...
6 years ago
Martin Ek
54cf68d3d0
rustfmt
6 years ago
Martin Ek
3a069ff4dc
Return a Result from property getters
6 years ago
Xuejie Xiao
a651b19aa5
Code review fixes
6 years ago
Xuejie Xiao
81091a05ba
Ergonomic changes via AsRef
6 years ago
Xuejie Xiao
e19dad0141
Add lifetime to DBPinnableSlice to make sure it cannot outlive DB
6 years ago
Xuejie Xiao
dbd2ca6e4f
Implement PinnableSlice based API
6 years ago
Jordan Terrell
59d54070b9
Formatting recent updates to master branch [skip ci]
6 years ago
Jordan Terrell
48c9e03e07
Using None instead of iter::empty for open_cf function...
6 years ago
Jordan Terrell
ceb5744c51
Implementing review feedback...
6 years ago
Jordan Terrell
896dbc6c61
Applying changes from rustfmt...
6 years ago
Jordan Terrell
d00e03f72a
Using generic types to specify column families when opening database...
6 years ago
Jordan Terrell
21b9a9e98a
Key/value arguments are now generic types that impl AsRef<[u8]>...
6 years ago
Jordan Terrell
4f61f96727
Adding iterator construction methods that accept ReadOptions...
6 years ago
Oleksandr Anyshchenko
deb6001cae
Usage `to_path` func and `get_cf_names` func was removed as redundant
6 years ago
Jordan Terrell
1a2c268274
Moving tests to take advantage of DBPath (ensuring cleanup)...
6 years ago
Jordan Terrell
857efff670
Adding lifetime to DBIterator and DBRawIterator...
6 years ago
Jordan Terrell
248b40b465
Adding lifetime to ColumnFamily...
6 years ago
Martin Ek
33d30d4ca1
Add tests
6 years ago
Martin Ek
369d2ab8a6
column_family -> cf for consistency
6 years ago
Martin Ek
312ad80f98
Add cf getters for properties
6 years ago
Martin Ek
22b34a40cb
Add property_value functions
6 years ago
Jordan Terrell
e2949d094c
Removed new_bloom_filter function...
6 years ago
Oleksandr Anyshchenko
fe26e038ab
Added a helper function `get_cf_names` and doc-tests refactoring
6 years ago
Oleksandr Anyshchenko
05350ac88c
Added a clear method for WriteBatch
6 years ago