From 403636842a4bab34926b79491e0e8f5c66230a7a Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Fri, 20 Jun 2014 23:18:25 -0700 Subject: [PATCH] [Java] Add HISTORY-JAVA.md and include both C++ and Java history files in .jar. Summary: Add HISTORY-JAVA.md and include both C++ and Java history files in .jar file that describes important chagnes of RocksJava. Test Plan: make rocksdbjava and make sure HISTORY.md is inside the .jar file Reviewers: haobo, sdong, ankgup87 Reviewed By: ankgup87 Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D19185 --- java/HISTORY-JAVA.md | 54 ++++++++++++++++++++++++++++++++++++++++++++ java/Makefile | 4 +++- 2 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 java/HISTORY-JAVA.md diff --git a/java/HISTORY-JAVA.md b/java/HISTORY-JAVA.md new file mode 100644 index 000000000..4cf0f7d18 --- /dev/null +++ b/java/HISTORY-JAVA.md @@ -0,0 +1,54 @@ +# RocksJava Change Log + +## By 06/15/2014 +### New Features +* Added basic Java binding for rocksdb::Env such that multiple RocksDB can share the same thread pool and environment. +* Added RestoreBackupableDB + +## By 05/30/2014 +### Internal Framework Improvement +* Added disOwnNativeHandle to RocksObject, which allows a RocksObject to give-up the ownership of its native handle. This method is useful when sharing and transferring the ownership of RocksDB C++ resources. + +## By 05/15/2014 +### New Features +* Added RocksObject --- the base class of all RocksDB classes which holds some RocksDB resources in the C++ side. +* Use environmental variable JAVA_HOME in Makefile for RocksJava +### Public API changes +* Renamed org.rocksdb.Iterator to org.rocksdb.RocksIterator to avoid potential confliction with Java built-in Iterator. + +## By 04/30/2014 +### New Features +* Added Java binding for MultiGet. +* Added static method RocksDB.loadLibrary(), which loads necessary library files. +* Added Java bindings for 60+ rocksdb::Options. +* Added Java binding for BloomFilter. +* Added Java binding for ReadOptions. +* Added Java binding for memtables. +* Added Java binding for sst formats. +* Added Java binding for RocksDB Iterator which enables sequential scan operation. +* Added Java binding for Statistics +* Added Java binding for BackupableDB. + +### DB Benchmark +* Added filluniquerandom, readseq benchmark. +* 70+ command-line options. +* Enabled BloomFilter configuration. + +## By 04/15/2014 +### New Features +* Added Java binding for WriteOptions. +* Added Java binding for WriteBatch, which enables batch-write. +* Added Java binding for rocksdb::Options. +* Added Java binding for block cache. +* Added Java version DB Benchmark. + +### DB Benchmark +* Added readwhilewriting benchmark. + +### Internal Framework Improvement +* Avoid a potential byte-array-copy between c++ and Java in RocksDB.get. +* Added SizeUnit in org.rocksdb.util to store consts like KB and GB. + +### 03/28/2014 +* RocksJava project started. +* Added Java binding for RocksDB, which supports Open, Close, Get and Put. diff --git a/java/Makefile b/java/Makefile index 95667a2e8..36452d324 100644 --- a/java/Makefile +++ b/java/Makefile @@ -10,7 +10,9 @@ clean: java: javac org/rocksdb/util/*.java org/rocksdb/*.java - jar -cf $(ROCKSDB_JAR) org/rocksdb/*.class org/rocksdb/util/*.class + @cp ../HISTORY.md ./HISTORY-CPP.md + jar -cf $(ROCKSDB_JAR) org/rocksdb/*.class org/rocksdb/util/*.class HISTORY*.md + @rm -f ./HISTORY-CPP.md javah -d $(NATIVE_INCLUDE) -jni $(NATIVE_JAVA_CLASSES) sample: java