- 15 12月, 2016 1 次提交
-
-
由 Adam Retter 提交于
Summary: Closes https://github.com/facebook/rocksdb/pull/1669 Differential Revision: D4327421 Pulled By: yiwu-arbug fbshipit-source-id: 661ee0b
-
- 06 11月, 2016 1 次提交
-
-
由 Adam Retter 提交于
Summary: Needed for working with `get` after `merge` on a WBWI. Closes https://github.com/facebook/rocksdb/pull/1093 Differential Revision: D4137978 Pulled By: yhchiang fbshipit-source-id: e18d50d
-
- 23 8月, 2016 1 次提交
-
-
由 Adam Retter 提交于
Add Status to RocksDBException so that meaningful function result Status from the C++ API isn't lost (#1273)
-
- 07 5月, 2016 1 次提交
-
-
由 Adam Retter 提交于
-
- 02 3月, 2016 1 次提交
-
-
由 Adam Retter 提交于
-
- 10 2月, 2016 4 次提交
-
-
由 Adam Retter 提交于
-
由 Adam Retter 提交于
-
由 Adam Retter 提交于
-
由 Baraa Hamodi 提交于
-
- 02 2月, 2016 1 次提交
-
-
由 Tomas Kolda 提交于
-
- 05 8月, 2015 1 次提交
-
-
由 Yueh-Hsuan Chiang 提交于
Summary: Merge pull request #665 by adamretter Exposes BackupEngine from C++ to the Java API. Previously only BackupableDB was available Test Plan: BackupEngineTest.java Reviewers: fyrz, igor, ankgup87, yhchiang Reviewed By: yhchiang Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D42873
-
- 24 3月, 2015 1 次提交
-
-
由 fyrz 提交于
Summary: RocksDB offers the possibility to set different compression types on a per level basis. This shall be also available using RocksJava. Test Plan: make rocksdbjava make jtest Reviewers: adamretter, yhchiang, ankgup87 Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D35577
-
- 20 3月, 2015 1 次提交
-
-
由 fyrz 提交于
Summary: Before this change overflowing size_t values led to a checked Exception. After that change: size_t overflows on 32-Bit architecture throw now an IllegalArgumentException, which removes the necessity for a developer to catch these Exceptions explicitly. This is especially an advantage for developers targeting 64-Bit systems because it is not necessary anymore to catch exceptions which are never thrown on a 64-Bit system. Test Plan: make clean jclean rocksdbjava jtest mvn -f rocksjni.pom package Reviewers: adamretter, yhchiang, ankgup87 Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D34923
-
- 15 3月, 2015 2 次提交
-
-
由 fyrz 提交于
Summary: Within this commit a new AbstractLogger was introduced which allows to handle log messages at an application level. Log messages are passed up to Java using a JNI callback. This allows a Java-Developer to use common Java APIs for log messages e.g. SLF4J, LOG4J, etc. Within this commit no new dependencies were introduced, which keeps the RocksDB API clean and doesn`t force a developer to use a predefined high-level Java API. Another feature is to dynamically set a custom loggers verbosity at runtime using its public method `setInfoLogLevel` and to retrieve the currently active level using the `infoLogLevel` method. Test Plan: make clean jclean rocksdbjava jtest mvn -f rocksjni.pom package Reviewers: adamretter, ankgup87, yhchiang Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D34755
-
由 fyrz 提交于
Within this commit a new AbstractLogger was introduced which pushes info log messages all the way up to Java.
-
- 29 1月, 2015 1 次提交
-
-
由 fyrz 提交于
-
- 28 1月, 2015 2 次提交
-
-
由 fyrz 提交于
As jclass instances shall not be cached, both todos are obsolete and can be removed.
-
由 fyrz 提交于
Simple Java Native Objects usually are represented using the same functionality but within different classes. With this commit a template class was introduced to remove the redundant impelementation to a certain extent.
-
- 15 1月, 2015 3 次提交
-
-
由 Adam Retter 提交于
-
由 Adam Retter 提交于
-
由 Adam Retter 提交于
-
- 11 1月, 2015 1 次提交
-
-
由 fyrz 提交于
Summary: Previous to this commit ColumnFamilyDescriptor took a String as name for the ColumnFamily name. String is however encoding dependent which is bad because listColumnFamilies returns byte arrays without any encoding information. All public API call were deprecated and flagged to be removed in 3.10.0 Test Plan: make rocksdbjava make test mvn -f rocksjni.pom package Reviewers: yhchiang, adamretter, ankgup87 Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D30525
-
- 13 11月, 2014 1 次提交
-
-
由 fyrz 提交于
********************* *************************** ******** ************* ******** ******** *********** ******** ******** ********* ******** ************************************* ************************************* ************************************* ****** *** *** ****** ****** *** *** *** ****** ****** *** ****** *************************** *********************
-
- 11 11月, 2014 1 次提交
-
-
由 fyrz 提交于
RocksJava now supports also flush functionality of RocksDB.
-
- 10 11月, 2014 1 次提交
-
-
由 Adam Retter 提交于
-
- 03 11月, 2014 1 次提交
-
-
由 fyrz 提交于
[RocksJava] Extend Options with DBOptions implementation [RocksJava] Included DBOptionsTest and refactored OptionsTest Summary: Options refactoring - Split Part2 Test Plan: make rocksdbjava make jtest Reviewers: yhchiang, ankgup87 Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D28017
-
- 29 10月, 2014 1 次提交
-
-
由 fyrz 提交于
Summary: - BackupableDB deleteBackup method - BackupableDB purgeOldBackups bugfix - BackupInfos now available in Restorable-/BackupableDB - Extended BackupableDBTest to cover more of the currently implemented functionality. Test Plan: make rocksdbjava make jtest Differential Revision: https://reviews.facebook.net/D27027
-
- 21 10月, 2014 3 次提交
-
-
由 Adam Retter 提交于
-
由 Adam Retter 提交于
-
由 Adam Retter 提交于
either byte[] or DirectByteBuffer for accessing underlying data.
-
- 16 10月, 2014 1 次提交
-
-
由 fyrz 提交于
Previous to this commit Filters passed as parameters to the BlockTableConfig are disposed before they should be disposed. Further Smart pointer usage was corrected. Java holds now the smart pointer to the FilterPolicy correctly and cares about freeing underlying c++ structures.
-
- 13 10月, 2014 2 次提交
-
-
由 fyrz 提交于
This commit includes the support for the following functionalities: - Single Get/Put operations - WriteBatch operations - Single iterator functionality - Open database with column families - Open database with column families Read/Only - Create column family - Drop column family - Properties of column families - Listing of column families - Fully backwards comptabile implementation - Multi Iterator support - MultiGet - KeyMayExist - Option to create missing column families on open In addition there is are two new Tests: - Test of ColumnFamily functionality - Test of Read only feature to open subsets of column families - Basic test to test the KeyMayExist feature What is not supported currently using RocksJava: - Custom ColumnFamilyOptions The following targets work as expected: - make rocksdbjava - make jtest Test environment: Ubuntu 14.04(LTS, x64), Java 1.7.0_65(OpenJDK IcedTea 2.5.2), g++ 4.8.2, kernel 3.13.0-35-generix
-
由 fyrz 提交于
Summary: This pull request solves the jlong overflow problem on 32-Bit machines as described in https://github.com/facebook/rocksdb/issues/278: 1. There is a new org.rocksdb.test.PlatformRandomHelper to assist in getting random values. For 32 Bit the getLong method is overriden by xpromaches code above. For 64 Bit it behaves as is. 2. The detection should be cross-platform (Windows is supported though it is not ported completely yet). 3. Every JNI method which sets jlong values must check if the value fits into size_t. If it overflows size_t a InvalidArgument Status object will be returned. If its ok a OK Status will be returned. 4. Setters which have this check will throw a RocksDBException if its no OK Status. Additionally some other parts of code were corrected using the wrong type casts. Test Plan: make rocksdbjava make jtest Differential Revision: https://reviews.facebook.net/D24531
-
- 18 9月, 2014 1 次提交
-
-
由 Yueh-Hsuan Chiang 提交于
Summary: Fixed 32-bit overflowing issue when converting jlong to size_t by capping jlong to std::numeric_limits<size_t>::max(). Test Plan: make rocksdbjava make jtest Reviewers: ankgup87, ljin, sdong, igor Reviewed By: igor Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D23511
-
- 24 7月, 2014 1 次提交
-
-
由 Yueh-Hsuan Chiang 提交于
Summary: Update header inclusion as include/utilities/*.h has been moved to include/rocksdb/utilities/*.h Test Plan: make rocksdbjava Reviewers: ljin, sdong, igor Reviewed By: igor Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D20517
-
- 10 7月, 2014 2 次提交
-
-
由 Ankit Gupta 提交于
-
由 Ankit Gupta 提交于
-
- 08 7月, 2014 1 次提交
-
-
由 Ankit Gupta 提交于
-
- 19 5月, 2014 1 次提交
-
-
由 Ankit Gupta 提交于
-
- 14 5月, 2014 1 次提交
-
-
由 Ankit Gupta 提交于
-