|
|
@ -21,8 +21,8 @@ Status PlainTableFactory::NewTableReader( |
|
|
|
return PlainTableReader::Open( |
|
|
|
return PlainTableReader::Open( |
|
|
|
table_reader_options.ioptions, table_reader_options.env_options, |
|
|
|
table_reader_options.ioptions, table_reader_options.env_options, |
|
|
|
table_reader_options.internal_comparator, std::move(file), file_size, |
|
|
|
table_reader_options.internal_comparator, std::move(file), file_size, |
|
|
|
table, table_options_.bloom_bits_per_key, table_options_.hash_table_ratio,
|
|
|
|
table, table_options_.bloom_bits_per_key, table_options_.hash_table_ratio, |
|
|
|
table_options_.index_sparseness, table_options_.huge_page_tlb_size,
|
|
|
|
table_options_.index_sparseness, table_options_.huge_page_tlb_size, |
|
|
|
table_options_.full_scan_mode); |
|
|
|
table_options_.full_scan_mode); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -36,8 +36,8 @@ TableBuilder* PlainTableFactory::NewTableBuilder( |
|
|
|
return new PlainTableBuilder( |
|
|
|
return new PlainTableBuilder( |
|
|
|
table_builder_options.ioptions, |
|
|
|
table_builder_options.ioptions, |
|
|
|
table_builder_options.int_tbl_prop_collector_factories, column_family_id, |
|
|
|
table_builder_options.int_tbl_prop_collector_factories, column_family_id, |
|
|
|
file, table_options_.user_key_len, table_options_.encoding_type,
|
|
|
|
file, table_options_.user_key_len, table_options_.encoding_type, |
|
|
|
table_options_.index_sparseness, table_options_.bloom_bits_per_key, 6,
|
|
|
|
table_options_.index_sparseness, table_options_.bloom_bits_per_key, 6, |
|
|
|
table_options_.huge_page_tlb_size, table_options_.hash_table_ratio, |
|
|
|
table_options_.huge_page_tlb_size, table_options_.hash_table_ratio, |
|
|
|
table_options_.store_index_in_file); |
|
|
|
table_options_.store_index_in_file); |
|
|
|
} |
|
|
|
} |
|
|
|