public abstract static class WriteBatch.Handler extends AbstractImmutableNativeReference
| Constructor and Description |
|---|
WriteBatch.Handler() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
delete(byte[] key) |
abstract void |
deleteRange(byte[] beginKey,
byte[] endKey) |
protected void |
disposeInternal()
Deletes underlying C++ handler pointer.
|
abstract void |
logData(byte[] blob) |
abstract void |
merge(byte[] key,
byte[] value) |
abstract void |
put(byte[] key,
byte[] value) |
boolean |
shouldContinue()
shouldContinue is called by the underlying iterator
WriteBatch::Iterate.
|
close, disOwnNativeHandle, isOwningHandledispose, finalizepublic abstract void put(byte[] key,
byte[] value)
public abstract void merge(byte[] key,
byte[] value)
public abstract void delete(byte[] key)
public abstract void deleteRange(byte[] beginKey,
byte[] endKey)
public abstract void logData(byte[] blob)
public boolean shouldContinue()
protected void disposeInternal()
disposeInternal in class AbstractImmutableNativeReference