Package org.rocksdb

Class TableFormatConfig

  • Direct Known Subclasses:
    BlockBasedTableConfig, PlainTableConfig

    public abstract class TableFormatConfig
    extends java.lang.Object
    TableFormatConfig is used to config the internal Table format of a RocksDB. To make a RocksDB to use a specific Table format, its associated TableFormatConfig should be properly set and passed into Options via Options.setTableFormatConfig() and open the db using that Options.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      protected abstract long newTableFactoryHandle()
      This function should only be called by Options.setTableFormatConfig(), which will create a c++ shared-pointer to the c++ TableFactory that associated with the Java TableFormatConfig.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TableFormatConfig

        public TableFormatConfig()
    • Method Detail

      • newTableFactoryHandle

        protected abstract long newTableFactoryHandle()

        This function should only be called by Options.setTableFormatConfig(), which will create a c++ shared-pointer to the c++ TableFactory that associated with the Java TableFormatConfig.

        Returns:
        native handle address to native table instance.