Package org.rocksdb
Class TableFormatConfig
- java.lang.Object
-
- org.rocksdb.TableFormatConfig
-
- Direct Known Subclasses:
BlockBasedTableConfig,PlainTableConfig
public abstract class TableFormatConfig extends java.lang.ObjectTableFormatConfig 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.
-
-
Constructor Summary
Constructors Constructor Description TableFormatConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract longnewTableFactoryHandle()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.
-
-
-
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.
-
-