Commit graph

16 commits

Author SHA1 Message Date
Jason Fried
2a66e20ca3 Column Family Support
Add support for Column Families in a runtime safe way.
Add unittests to test functionality
Insure all unittests are passing.
Cleaned up unittests to not use a fixed directory in tmp, but use tempfile
2018-11-06 02:26:47 +00:00
Mehdi Abaakouk
e4c0de9455 Allow to compile the extension everywhere
This change:
* uses to setuptools Cython automatic extension build system.
* Add tox.ini to run tests and build docs into virtualenv
* Add .travis.yaml and Dockerfile to run tests in CI
* Change requirements to ensure:
  - Cython and setuptools are installed before we build the Cython
    extension
  - tests dependencies are not installed by default
  - doc dependencies are explicit
* Add missing lz4 library
* Allow to build the module with any librocksdb headers (no-rtti)

Closes #15
2018-02-09 09:21:56 +01:00
twmht
5610d9474d update the usage of default operators 2017-04-25 08:25:02 +08:00
twmht
79b0f8d6fb add seekForPrev 2017-04-23 19:32:41 +08:00
twmht
9fcafffbf4 add default merge operator 2017-04-16 14:13:01 +08:00
hofmockel
aee8dbe540 Remove prints from the tests. 2015-07-05 14:16:20 +02:00
hofmockel
302d1a6440 Make it possible to iterate over a WriteBatch. 2015-07-05 13:35:15 +02:00
hofmockel
9cf520a77b Update the tests. 2014-10-22 20:54:25 +02:00
hofmockel
f4c5aed418 Make the 'compact_range' call available in python
(cherry picked from commit c6e4014136)
2014-05-31 20:25:06 +02:00
hofmockel
f897bf4911 Adapt to the changes of 'prefix seek api'
See https://github.com/facebook/rocksdb/wiki/Prefix-Seek-API-Changes
2014-05-31 20:21:42 +02:00
hofmockel
44cd1978af Make tests python3 ready 2014-01-26 10:45:36 +01:00
hofmockel
c8b92d5adb Fore future use, prevent options beeing shared with other DB objects
For better logging I'm going to inject the rocksdb info_logger into the C++ Wrapper classes
=> The classes on the options object have a member to a DB specific logger
=> This c++ classes can only belong to a SINGLE db
=> For simplicity make this requirement also for the options object itself
2014-01-23 08:53:14 +01:00
hofmockel
36eb7024d3 Make 'prefix_extractor' active 2014-01-21 17:26:30 +01:00
hofmockel
7d61b63b79 Separate strictly between bytes/unicode
which makes py3 support possible
2014-01-16 21:32:00 +01:00
hofmockel
6277f9ab5c Support unicode objects for paths
Use sys.getfilesystemencoding() for encoding
2014-01-16 08:51:01 +01:00
hofmockel
77c384b6b0 Initial commit of the driver 2014-01-13 19:52:22 +01:00