Package org.rocksdb
Class MemTableConfig
java.lang.Object
org.rocksdb.MemTableConfig
- Direct Known Subclasses:
HashLinkedListMemTableConfig,HashSkipListMemTableConfig,SkipListMemTableConfig,VectorMemTableConfig
MemTableConfig is used to config the internal mem-table of a RocksDB.
It is required for each memtable to have one such sub-class to allow
Java developers to use it.
To make a RocksDB to use a specific MemTable format, its associated MemTableConfig should be properly set and passed into Options via Options.setMemTableFactory() and open the db using that Options.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract longThis function should only be called by Options.setMemTableConfig(), which will create a c++ shared-pointer to the c++ MemTableRepFactory that associated with the Java MemTableConfig.
-
Constructor Details
-
MemTableConfig
public MemTableConfig()
-
-
Method Details
-
newMemTableFactoryHandle
protected abstract long newMemTableFactoryHandle()This function should only be called by Options.setMemTableConfig(), which will create a c++ shared-pointer to the c++ MemTableRepFactory that associated with the Java MemTableConfig.- Returns:
- native handle address to native memory table instance.
- See Also:
-