Update docs for NewAdaptiveTableFactory

This commit is contained in:
Lukáš Lalinský 2014-11-14 11:34:32 -08:00
parent e6c3cc6574
commit c9fd03ec51

View file

@ -369,13 +369,14 @@ class TableFactory {
}; };
#ifndef ROCKSDB_LITE #ifndef ROCKSDB_LITE
// Create a special table factory that can open both of block based table format // Create a special table factory that can open either of the supported
// and plain table, based on setting inside the SST files. It should be used to // table formats, based on setting inside the SST files. It should be used to
// convert a DB from one table format to another. // convert a DB from one table format to another.
// @table_factory_to_write: the table factory used when writing to new files. // @table_factory_to_write: the table factory used when writing to new files.
// @block_based_table_factory: block based table factory to use. If NULL, use // @block_based_table_factory: block based table factory to use. If NULL, use
// a default one. // a default one.
// @plain_table_factory: plain table factory to use. If NULL, use a default one. // @plain_table_factory: plain table factory to use. If NULL, use a default one.
// @cuckoo_table_factory: cuckoo table factory to use. If NULL, use a default one.
extern TableFactory* NewAdaptiveTableFactory( extern TableFactory* NewAdaptiveTableFactory(
std::shared_ptr<TableFactory> table_factory_to_write = nullptr, std::shared_ptr<TableFactory> table_factory_to_write = nullptr,
std::shared_ptr<TableFactory> block_based_table_factory = nullptr, std::shared_ptr<TableFactory> block_based_table_factory = nullptr,