T
- The concrete type of the compaction filterpublic abstract class AbstractCompactionFilterFactory<T extends AbstractCompactionFilter<?>> extends RocksCallbackObject
AbstractCompactionFilter
allowing the application to know about different compactionsnativeHandle_
owningHandle_
Constructor and Description |
---|
AbstractCompactionFilterFactory() |
Modifier and Type | Method and Description |
---|---|
abstract T |
createCompactionFilter(AbstractCompactionFilter.Context context)
Create a new compaction filter
|
protected void |
disposeInternal()
We override
RocksCallbackObject.disposeInternal()
as disposing of a rocksdb::AbstractCompactionFilterFactory requires
a slightly different approach as it is a std::shared_ptr |
protected long |
initializeNative(long... nativeParameterHandles)
Construct the Native C++ object which will callback
to our object methods
|
abstract java.lang.String |
name()
A name which identifies this compaction filter
The name will be printed to the LOG file on start up for diagnosis
|
close, disOwnNativeHandle, isOwningHandle
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 T createCompactionFilter(AbstractCompactionFilter.Context context)
context
- The context describing the need for a new compaction filterAbstractCompactionFilter
public abstract java.lang.String name()
protected void disposeInternal()
RocksCallbackObject.disposeInternal()
as disposing of a rocksdb::AbstractCompactionFilterFactory requires
a slightly different approach as it is a std::shared_ptrdisposeInternal
in class RocksCallbackObject