Package org.rocksdb

Class AbstractCompactionFilterFactory<T extends AbstractCompactionFilter<?>>

  • Type Parameters:
    T - The concrete type of the compaction filter
    All Implemented Interfaces:
    java.lang.AutoCloseable

    public abstract class AbstractCompactionFilterFactory<T extends AbstractCompactionFilter<?>>
    extends RocksCallbackObject
    Each compaction will create a new AbstractCompactionFilter allowing the application to know about different compactions
    • Constructor Detail

      • AbstractCompactionFilterFactory

        public AbstractCompactionFilterFactory()
    • Method Detail

      • initializeNative

        protected long initializeNative​(long... nativeParameterHandles)
        Description copied from class: RocksCallbackObject
        Construct the Native C++ object which will callback to our object methods
        Specified by:
        initializeNative in class RocksCallbackObject
        Parameters:
        nativeParameterHandles - An array of native handles for any parameter objects that are needed during construction
        Returns:
        The native handle of the C++ object which will callback to us
      • name

        public 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
        Returns:
        name which identifies this compaction filter.