Package org.rocksdb
Class AbstractCompactionFilter<T extends AbstractSlice<?>>
java.lang.Object
org.rocksdb.AbstractNativeReference
org.rocksdb.AbstractImmutableNativeReference
org.rocksdb.RocksObject
org.rocksdb.AbstractCompactionFilter<T>
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
CassandraCompactionFilter,RemoveEmptyValueCompactionFilter
A CompactionFilter allows an application to modify/delete a key-value at
the time of compaction.
At present, we just permit an overriding Java class to wrap a C++ implementation
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.rocksdb.RocksObject
nativeHandle_Fields inherited from class org.rocksdb.AbstractImmutableNativeReference
owningHandle_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voiddisposeInternal(long handle) Deletes underlying C++ compaction pointer.Methods inherited from class org.rocksdb.RocksObject
disposeInternal, getNativeHandleMethods inherited from class org.rocksdb.AbstractImmutableNativeReference
close, disOwnNativeHandle, isOwningHandle
-
Constructor Details
-
AbstractCompactionFilter
protected AbstractCompactionFilter(long nativeHandle)
-
-
Method Details
-
disposeInternal
protected final void disposeInternal(long handle) Deletes underlying C++ compaction pointer.Note that this function should be called only after all RocksDB instances referencing the compaction filter are closed. Otherwise, an undefined behavior will occur.
- Specified by:
disposeInternalin classRocksObject
-