public abstract static class WriteBatch.Handler extends RocksCallbackObject
nativeHandle_
Constructor and Description |
---|
Handler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
delete(byte[] key) |
abstract void |
deleteRange(byte[] beginKey,
byte[] endKey) |
protected long |
initializeNative(long... nativeParameterHandles)
Construct the Native C++ object which will callback
to our object methods
|
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.
|
disposeInternal
close, disOwnNativeHandle, isOwningHandle
dispose, finalize
protected long initializeNative(long... nativeParameterHandles)
RocksCallbackObject
initializeNative
in class RocksCallbackObject
nativeParameterHandles
- An array of native handles for any parameter
objects that are needed during constructionpublic 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()