Package org.rocksdb
Class MemTableConfig
- java.lang.Object
-
- org.rocksdb.MemTableConfig
-
- Direct Known Subclasses:
HashLinkedListMemTableConfig,HashSkipListMemTableConfig,SkipListMemTableConfig,VectorMemTableConfig
public abstract class MemTableConfig extends java.lang.ObjectMemTableConfig 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:
Options
-
-
Constructor Summary
Constructors Constructor Description MemTableConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract longnewMemTableFactoryHandle()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.
-
-
-
Method Detail
-
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:
Options.setMemTableConfig(MemTableConfig)
-
-