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
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
wjhuang2016
fbc8c4ccb3
set_max_write_buffer_number
6 years ago
Oleksandr Anyshchenko
7c4bfb8735
Replace deprecated types
6 years ago
Renar Narubin
5cc31aaff8
Add set_db_write_buffer_size to the Options API
6 years ago
Valerian Saliou
c7e08cfd4b
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
Oleksandr Anyshchenko
9f74dbcdb1
Added a possibility to enable mmap files for reads and writes
6 years ago
Oleksandr Anyshchenko
e7f5c24105
Applied clippy lints
6 years ago
Martin Ek
4ff418ab43
Pass options as immutable borrow
6 years ago
Martin Ek
b01acb71a9
Use an options struct
6 years ago
Martin Ek
d82d5c6b77
Add plain table format
6 years ago
Jordan Terrell
e565d68852
Fixing rustfmt.toml and applying formatting...
6 years ago
Roman Zeyde
efdea4faab
Expose keep_log_file_num option
6 years ago
Roman Zeyde
c70a76139d
Expose 'set_skip_stats_update_on_db_open' option
6 years ago
Oleksandr Anyshchenko
5a2647a436
Got rid of some rust compiler warnings.
7 years ago
Martin Ek
e08ad288c4
Add disable_cache method
7 years ago
Roman Zeyde
45edfd2e90
Expose compaction_readahead_size option
7 years ago
Martin Ek
530dc462d5
Add DBOptions.set_wal_dir
7 years ago
Martin Ek
aaf2270609
Add index_type customization to BlockBasedOptions
7 years ago
Martin Ek
8acabab60f
Add memtable factory customization
7 years ago
Martin Ek
b3559793aa
Add set_memtable_prefix_bloom_ratio
7 years ago
Tyler Neely
12093252c6
add slice transform support
7 years ago
Diego Ongaro
fc40d10b86
Expose advise_random_on_open option
7 years ago
Jordan Terrell
3286444228
Adding Send marker trait to Options
7 years ago
Rick Richardson
9fcf924d22
clean up trace
7 years ago
Rick Richardson
d31e2bb88e
updated merge_operator framework to support merge types other than associative (support a partial merge and full merges that may or may not have an existing value)
7 years ago
Griffin Smith
a4587f62c1
Remove `set_disable_data_sync`
...
This is removed from rocksdb core as of facebook/rocksdb@eb912a9, and
having the reference in the ffi causes loading the shared library to
break.
7 years ago
Gary Tierney
1af596a4b3
Expose create_missing_column_families option
7 years ago
Nikhil Benesch
9d0a5e2819
use bindgen to generate ffi
...
Closes #128 .
7 years ago
Richard Dodd
514e8904d7
Add to options
...
- set_allow_concurrent_memtable_write
And fix test
8 years ago
Richard Dodd
620091d31b
Make docs match new function
8 years ago
Richard Dodd
90f5e0103e
Remove unnecessary function
8 years ago
Richard Dodd
2a7ab0f805
Include change from 5.4.5
...
Change "use_direct_writes" to "use_direct_io_for_flush_and_compaction"
8 years ago
Richard Dodd
ccb40173fe
Update rocksdb
...
Remove option that no longer exists in rocksdb
8 years ago
Karl Hobley
6b407a3486
Implement support for DirectIO
...
As per: 972f96b3fb
8 years ago
Tyler Neely
2a29b0ae5f
cut version 0.6.0
8 years ago
Thayne McCombs
e84132dfbe
Add set_compaction_filter
...
Add method to set the compaction filter for a database.
8 years ago
Alexander Regueiro
12d79986b2
Changed rocksdb module name prefix to db.
...
Also rustfmt on source.
8 years ago
Alexander Regueiro
d28eba2ff5
Added basic support for backups.
8 years ago
Alexander Regueiro
75622d3660
Fixed method names in doc tests.
8 years ago
Alexander Regueiro
e67dc3ec7f
Fixed method names.
8 years ago
Alexander Regueiro
882aaffd52
Improved doc comments.
8 years ago
Alexander Regueiro
57d4669d97
Added explicit `CompareFn` type for comparator function.
...
Changed return type of comparator function from `i32` to `std::cmp::Ordering`.
8 years ago
Tyler Neely
121ed9a993
formatting
8 years ago