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
Tyler Neely
235a738632
Merge remote-tracking branch 'origin' into tyler_cleanup
8 years ago
Tyler Neely
aec7db81f2
Clean up code a bit, make clippy happier, use proper types.
8 years ago
Tyler Neely
8f445220bb
fix some clippy warnings
8 years ago
Tyler Neely
ea77df7e6e
bump to 0.3.5
9 years ago
Tyler Neely
09b7fd0a66
Merge branch 'master' of github.com:spacejam/rust-rocksdb
9 years ago
Tyler Neely
5f438b1547
bump to 0.3.4
9 years ago
Tyler Neely
eb275813e8
Merge pull request #58 from spacejam/tyler_libc_0.2.10
...
Bump libc crate to 0.2.10, audit u64 and usize usage in ffi
9 years ago
Tyler Neely
c005eb9c22
Bump libc crate to 0.2.10, fix the improper use of u64 where usize should have been used in some places.
9 years ago
Tyler Neely
8d0024e95f
bump to 0.3.3
9 years ago
Tyler Neely
3e83c6d869
Merge pull request #57 from spacejam/merge_arkpar_enum_changes
...
pull in arkpar enum changes
9 years ago
Tyler Neely
740f3735d0
touchups to make arkpar's backport work
9 years ago
arkpar
cc6e143318
Changed ffi types to pointer for i686 compatibility
9 years ago
Tyler Neely
c18043f427
bump version to 0.3.2
9 years ago
Tyler Neely
142c574d07
Merge pull request #54 from disksing/master
...
export `iterator.valid()`
9 years ago