Vivek
Vivek

Reputation: 13228

Does LevelDB support java?

I want to know if LevelDB supports java ? Where can i get the LevelDB. There are no files under http://code.google.com/p/leveldb/

Upvotes: 34

Views: 20173

Answers (4)

lu wei
lu wei

Reputation: 11

You can have a try of leveldb-java. This is a pure Java version of LevelDB.

Upvotes: 1

Hiram Chirino
Hiram Chirino

Reputation: 4091

You can use the https://github.com/fusesource/leveldbjni java library which gives you a Java API to LevelDB via JNI.

There is also a Pure Java implementation of LevelDB available at https://github.com/dain/leveldb

Both the JNI wrapped and pure Java implementation implement the same interface classes so it's really easy to switch between the two.

Upvotes: 51

gabor
gabor

Reputation: 4349

LevelDB currently does not ship with JNI bindings, but you can wrap your own JNI binding around the file db/c.h via SWIG and the like.

Upvotes: 1

Dan D.
Dan D.

Reputation: 74645

From looking at the source, i can say that it doesn't support java.

For the source use svn checkout http://leveldb.googlecode.com/svn/trunk/ leveldb-read-only

Upvotes: 0

Related Questions