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
Alexander Regueiro
ffefbd0907
Performed lots of clean-up on code.
8 years ago
Karl Hobley
3975276ee0
Examples/doctests for Options methods
8 years ago
Karl Hobley
4596aeda5f
Convert test_set_max_manifest_file_size into a doctest
8 years ago
Karl Hobley
dd7423ef9f
Added deprecated add_merge_operator and add_comparitor methods
8 years ago
Karl Hobley
f8e96a02df
Improve naming of some of the new Options methods
...
None of these methods have been in a past released version so I don't think we should worry about backwards compatibility.
Changes as follows:
- Renamed ``compression`` to ``set_compression_type``. I think this is a much clearer name
- Renamed ``add_merge_operator`` to ``set_merge_operator`` and ``add_comparator`` to ``set_comparator``. Both of these methods replace the entire value of their respective option so "add" is the wrong term to use here.
- Renamed ``set_block_cache_size_mb`` to ``rocksdb_options_optimize_for_point_lookup``. To match RocksDB's API
8 years ago
Karl Hobley
cbf98b6b23
Remove Options.set_filter_deletes
...
Fixes #79
Deprecated (and removed) as of RocksDB 4.10
7b79238b65
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