public class JniWriteBatch
extends java.lang.Object
implements org.iq80.leveldb.WriteBatch
| Modifier and Type | Field and Description |
|---|---|
private NativeWriteBatch |
writeBatch |
| Constructor and Description |
|---|
JniWriteBatch(NativeWriteBatch writeBatch) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.iq80.leveldb.WriteBatch |
delete(byte[] key) |
org.iq80.leveldb.WriteBatch |
put(byte[] key,
byte[] value) |
NativeWriteBatch |
writeBatch() |
private final NativeWriteBatch writeBatch
JniWriteBatch(NativeWriteBatch writeBatch)
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic org.iq80.leveldb.WriteBatch put(byte[] key,
byte[] value)
put in interface org.iq80.leveldb.WriteBatchpublic org.iq80.leveldb.WriteBatch delete(byte[] key)
delete in interface org.iq80.leveldb.WriteBatchpublic NativeWriteBatch writeBatch()