Class NativeWriteBatch
java.lang.Object
org.fusesource.leveldbjni.internal.NativeObject
org.fusesource.leveldbjni.internal.NativeWriteBatch
Provides a java interface to the C++ leveldb::WriteBatch class.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.fusesource.leveldbjni.internal.NativeObject
self -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voiddelete()voiddelete(byte[] key) private voiddelete(NativeBuffer keyBuffer) private voiddelete(NativeSlice keySlice) voidput(byte[] key, byte[] value) private voidput(NativeBuffer keyBuffer, NativeBuffer valueBuffer) private voidput(NativeSlice keySlice, NativeSlice valueSlice) Methods inherited from class org.fusesource.leveldbjni.internal.NativeObject
assertAllocated, isAllocated, pointer
-
Constructor Details
-
NativeWriteBatch
public NativeWriteBatch()
-
-
Method Details
-
delete
public void delete() -
put
public void put(byte[] key, byte[] value) -
put
-
put
-
delete
public void delete(byte[] key) -
delete
-
delete
-
clear
public void clear()
-