Tyler Neely
cb7ca98b3f
Merge pull request #83 from kaedroho/remove-options-set_filter_deletes
...
Remove Options.set_filter_deletes
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
Tyler Neely
6bfad9eb85
Merge branch 'kaedroho-patch-1'
8 years ago
Tyler Neely
cff724a070
Merge branch 'patch-1' of https://github.com/kaedroho/rust-rocksdb into kaedroho-patch-1
8 years ago
Tyler Neely
a53055838c
Merge pull request #78 from kaedroho/writebatch-len-and-is_empty
...
Implement len() and is_empty() methods on WriteBatch
8 years ago
Tyler Neely
b04db8dffb
Merge pull request #77 from kaedroho/options-set_iterate_upper_bound
...
Add set_iterate_upper_bound method on ReadOptions
8 years ago
Tyler Neely
803f2380c2
Merge pull request #75 from kaedroho/db-path
...
Port path() method from ngauts fork and implement Debug for DB
8 years ago
Tyler Neely
7839fdc005
Merge pull request #74 from kaedroho/error-type
...
Added an Error type
8 years ago
Karl Hobley
9d9c5566d6
Rename count to len
8 years ago
siddontang
daabb5d1eb
support writebatch is_empty
8 years ago
siddontang
ee7483204c
support writebatch count
8 years ago
zhangjinpeng1987
9ec9d74a1d
add set_iterate_upper_bound api for readoptions
8 years ago
Karl Hobley
cfa206a955
Fixed spelling mistake
8 years ago
Karl Hobley
651a2106fc
Added an Error type
...
This makes it easier for people who are using the try!() macro to convert errors into their own Error type. It isn't possible to diffrentiate between errors raised from RocksDB and other string errors at the moment.
This adds a simple ``Error`` type that wraps ``String``. People using RocksDB can now implement ``impl From<rocksdb::Error> for MyError`` and add custom behaviour for handling RocksDB errors.
8 years ago
Karl Hobley
7b2e1b91a7
Implement Debug for DB
8 years ago
siddontang
d856b804c0
save path for later use
8 years ago
Tyler Neely
12259e0c1b
remove old rust 1.2 from travis config
8 years ago
Tyler Neely
c148def1b1
Merge pull request #72 from kaedroho/new-options-methods
...
Cherry pick new options methods from ngaut's fork
8 years ago
Tyler Neely
f723ab8667
Merge pull request #73 from kaedroho/changelog
...
Start a changelog
8 years ago
Karl Hobley
8fd71c4d9c
Start a changelog
...
Every project should have one of these :)
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
siddontang
edb0859029
support get statistics
8 years ago
zhangjinpeng1987
42c5bb92dc
set num levels
8 years ago
zhangjinpeng1987
fa038809e1
enable statistics
8 years ago
zhangjinpeng1987
f542987ba7
wal recovery mode
8 years ago
Dylan Wen
ad09a5fbe1
add set_max_manifest_file_size for Options
8 years ago
zhangjinpeng1987
c884ee38b7
add set_level_zero_file_num_compaction_trigger api
8 years ago
zhangjinpeng1987
5454956385
add set_level0_compaction_trigger api
8 years ago
zhangjinpeng1987
c9e104a4e5
add filter policy interface && add set_cache_index_and_filter_blocks
8 years ago
zhangjinpeng1987
ab9028c778
DBComressionType copyable
8 years ago
zhangjinpeng1987
b9bcc0900e
add compression_per_level options
8 years ago
jinpeng zhang
a783093048
add report_gb_io_stats option
8 years ago
ngaut
0dfdc06ddf
*: add an option to disable write-ahead-log.
8 years ago
Jay Lee
f781adc84b
add allow os buffer conf
8 years ago
Jay Lee
f92f15f111
add lru cache conf
8 years ago
Jay Lee
e2c0877388
option: add max_bytes_for_level_base option
8 years ago
Jay Lee
85bc98462e
options: add compression option
8 years ago
Tyler Neely
a5becb4308
move merge operator column family test to ignored test for now
8 years ago
Tyler Neely
35cb53c60c
Merge pull request #71 from kaedroho/travis-tests
...
Run tests on Travis CI
8 years ago
Karl Hobley
3783d98a63
Add a build matrix with different rocksdb versions
8 years ago
Karl Hobley
dff72f72df
Run tests on Travis CI
...
This commit adds configuration for building/installing RocksDB on Travis so the unit tests can be run.
Builds now take around 10 minutes. Also, I'm not sure how to configure it for OSX but I'm not sure if this is really important?
8 years ago
Tyler Neely
98bd55e7fe
Merge pull request #67 from jezell/master
...
add iterator_cf to snapshot
8 years ago
Jesse Ezell
66c54929cf
add iterator_cf to snapshot
8 years ago
Tyler Neely
e2df8500ae
Merge pull request #66 from timlyo/master
...
Added some documentation
8 years ago
Tim Maddison
68e34bcb79
Added some documentation
8 years ago
Tyler Neely
df4d31c5e5
Merge pull request #65 from timlyo/master
...
main.rs deleted
8 years ago
timlyo
6e780cf4ac
main.rs is not used
8 years ago
Tyler Neely
2558762a91
bump to 0.4.1
8 years ago
Tyler Neely
fea624461b
Merge pull request #60 from spacejam/tyler_cleanup
...
cleanup for 0.4.0
8 years ago