deephacks / lmdbjni

LMDB for Java
Apache License 2.0
204 stars 28 forks source link

Cursor.get() Missing Parameter #75

Open dumbird opened 7 years ago

dumbird commented 7 years ago

Cursor.get() only takes one parameter GetOp. This works fine for GetOp.FIRST etc, but doesn't work for get entry for a key. The seek() method, on the other hand, has a comment "Same as get but with a seek operation", has a key parameter. I'm trying to use GetOp.GET_MULTIPLE to get values for a particular key, but couldn't find a way to do it.