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:
java.lang.AutoCloseable
- Direct Known Subclasses:
CassandraCompactionFilter,RemoveEmptyValueCompactionFilter
public abstract class AbstractCompactionFilter<T extends AbstractSlice<?>> extends RocksObject
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 Modifier and Type Class Description static classAbstractCompactionFilter.Context
-
Field Summary
-
Fields inherited from class org.rocksdb.RocksObject
nativeHandle_
-
Fields inherited from class org.rocksdb.AbstractImmutableNativeReference
owningHandle_
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCompactionFilter(long nativeHandle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddisposeInternal(long handle)Deletes underlying C++ compaction pointer.-
Methods inherited from class org.rocksdb.RocksObject
disposeInternal, getNativeHandle
-
Methods inherited from class org.rocksdb.AbstractImmutableNativeReference
close, disOwnNativeHandle, isOwningHandle
-
Methods inherited from class org.rocksdb.AbstractNativeReference
dispose, finalize
-
-
-
-
Method Detail
-
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
-
-