Home
last modified time | relevance | path

Searched refs:table_factory (Results 1 – 25 of 74) sorted by relevance

123

/rocksdb-6.9/utilities/options/
Doptions_util_test.cc79 if (IsBlockBasedTableFactory(cf_opts[i].table_factory.get())) { in TEST_F()
81 cf_opts[i].table_factory.get(), in TEST_F()
82 loaded_cf_descs[i].options.table_factory.get())); in TEST_F()
107 default_column_family_opt.table_factory.reset( in TEST_F()
116 cf_opt_plain_table_opt.table_factory.reset(NewPlainTableFactory()); in TEST_F()
131 if (IsBlockBasedTableFactory(cf_opts[i].table_factory.get())) { in TEST_F()
133 loaded_cf_descs[i].options.table_factory->GetOptions()); in TEST_F()
332 std::shared_ptr<TableFactory> table_factory = in TEST_F() local
333 cf_descs[3].options.table_factory; in TEST_F()
335 ASSERT_NE(table_factory, nullptr); in TEST_F()
[all …]
/rocksdb-6.9/db/
Ddb_block_cache_test.cc50 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in GetOptions()
158 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
182 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
238 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
299 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
355 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
393 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
473 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
528 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
619 no_block_cache_opts.table_factory.reset( in TEST_F()
[all …]
Ddb_bloom_filter_test.cc85 options.table_factory->GetOptions()) in TEST_P()
162 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
228 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
280 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
308 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
331 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
352 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
391 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
908 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
936 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
[all …]
Dplain_table_db_test.cc139 options.table_factory.reset(NewPlainTableFactory(plain_table_options)); in CurrentOptions()
480 options.table_factory.reset( in TEST_P()
493 options.table_factory.reset( in TEST_P()
590 options.table_factory.reset(new TestPlainTableFactory( in TEST_P()
704 options.table_factory.reset(new TestPlainTableFactory( in TEST_P()
716 options.table_factory.reset(new TestPlainTableFactory( in TEST_P()
834 options.table_factory.reset(new TestPlainTableFactory( in TEST_P()
1315 options.table_factory.reset(NewPlainTableFactory()); in TEST_P()
1329 options.table_factory.reset(NewAdaptiveTableFactory( in TEST_P()
1348 options.table_factory.reset(NewBlockBasedTableFactory()); in TEST_P()
[all …]
Dtable_properties_collector_test.cc347 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
366 options.table_factory = in TEST_P()
378 std::shared_ptr<TableFactory> table_factory) { in TestInternalKeyPropertiesCollector() argument
399 options.table_factory = table_factory; in TestInternalKeyPropertiesCollector()
Dcuckoo_table_db_test.cc41 options.table_factory.reset(NewCuckooTableFactory()); in CurrentOptions()
292 options.table_factory.reset(NewCuckooTableFactory()); in TEST_F()
308 options.table_factory.reset(NewAdaptiveTableFactory( in TEST_F()
317 options.table_factory.reset(NewAdaptiveTableFactory( in TEST_F()
Ddb_test2.cc52 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_P()
139 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
1977 no_block_cache_opts.table_factory.reset( in TEST_F()
2081 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
2188 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
2639 std::string(options.table_factory->Name())); in TEST_F()
2642 options.table_factory->GetOptions()); in TEST_F()
2880 options.table_factory.reset(new BlockBasedTableFactory(bbto)); in TEST_F()
3609 options.table_factory.reset(new BlockBasedTableFactory(bbto)); in TEST_F()
4003 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
[all …]
Ddb_merge_operator_test.cc222 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
317 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_P()
377 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_P()
606 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
Ddb_iterator_test.cc192 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1236 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1492 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1563 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1623 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1696 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1751 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1802 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
2612 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
2673 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
[all …]
Dcorruption_test.cc62 options_.table_factory.reset(NewBlockBasedTableFactory(table_options)); in CorruptionTest()
90 opt.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TryReopen()
338 options.table_factory.reset(NewBlockBasedTableFactory(table_options_no_bc)); in TEST_F()
Ddb_test_util.cc359 options.table_factory.reset(new PlainTableFactory()); in GetOptions()
366 options.table_factory.reset(new PlainTableFactory()); in GetOptions()
373 options.table_factory.reset(new PlainTableFactory()); in GetOptions()
380 options.table_factory.reset(new PlainTableFactory()); in GetOptions()
574 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in GetOptions()
669 last_options_.table_factory.reset(); in TryReopen()
/rocksdb-6.9/table/
Dtable_test.cc346 builder.reset(ioptions.table_factory->NewTableBuilder( in FinishImpl()
378 return ioptions.table_factory->NewTableReader( in FinishImpl()
414 return ioptions.table_factory->NewTableReader( in Reopen()
750 options_.table_factory.reset( in Init()
790 options_.table_factory.reset( in Init()
801 options_.table_factory.reset( in Init()
807 options_.table_factory.reset( in Init()
814 options_.table_factory.reset( in Init()
3672 options.memtable_factory = table_factory; in TEST_F()
4126 options.table_factory->NewTableReader( in TEST_P()
[all …]
Dtable_reader_bench.cc101 tb = opts.table_factory->NewTableBuilder( in TableReaderBenchmark()
144 s = opts.table_factory->NewTableReader( in TableReaderBenchmark()
248 opts.table_factory->Name(), num_keys1, num_keys2, in TableReaderBenchmark()
274 DEFINE_string(table_factory, "block_based",
335 options.table_factory = tf; in main()
/rocksdb-6.9/options/
Doptions_test.cc313 base_cf_opt.table_factory.reset(); in TEST_F()
318 ASSERT_TRUE(new_cf_opt.table_factory == nullptr); in TEST_F()
425 ASSERT_TRUE(new_cf_opt.table_factory != nullptr); in TEST_F()
432 ASSERT_TRUE(new_cf_opt.table_factory != nullptr); in TEST_F()
438 ASSERT_TRUE(new_cf_opt.table_factory != nullptr); in TEST_F()
493 ASSERT_TRUE(new_cf_opt.table_factory != nullptr); in TEST_F()
501 ASSERT_TRUE(new_cf_opt.table_factory != nullptr); in TEST_F()
771 base_options.table_factory.reset( in TEST_F()
1098 BlockBasedTableFactory* table_factory = in TEST_F() local
1101 ASSERT_TRUE(table_factory != nullptr); in TEST_F()
[all …]
Doptions.cc100 table_factory( in ColumnFamilyOptions()
128 table_factory->Name()); in Dump()
130 table_factory->GetPrintableTableOptions().c_str()); in Dump()
504 table_factory.reset(new BlockBasedTableFactory(table_options)); in OptimizeForSmallDb()
519 table_factory.reset(new BlockBasedTableFactory(block_based_options)); in OptimizeForPointLookup()
Doptions_helper.cc214 cf_opts.table_factory = options.table_factory; in BuildColumnFamilyOptions()
1003 new_options->table_factory.get()); in ParseColumnFamilyOption()
1013 new_options->table_factory.reset(NewBlockBasedTableFactory(table_opt)); in ParseColumnFamilyOption()
1019 new_options->table_factory.get()); in ParseColumnFamilyOption()
1029 new_options->table_factory.reset(NewPlainTableFactory(table_opt)); in ParseColumnFamilyOption()
1381 std::shared_ptr<TableFactory>* table_factory, bool ignore_unknown_options) { in GetTableFactoryFromMap() argument
1392 table_factory->reset(new BlockBasedTableFactory(bbt_opt)); in GetTableFactoryFromMap()
1402 table_factory->reset(new PlainTableFactory(pt_opt)); in GetTableFactoryFromMap()
1407 table_factory->reset(); in GetTableFactoryFromMap()
2008 {offset_of(&ColumnFamilyOptions::table_factory),
Dcf_options.cc51 table_factory(cf_options.table_factory.get()), in ImmutableCFOptions()
Doptions_parser.cc90 auto* tf = cf_opts[i].table_factory.get(); in PersistRocksDBOptions()
414 opt_map, &(cf_opt->table_factory), ignore_unknown_options); in EndSection()
727 s = VerifyTableFactory(cf_opts[i].table_factory.get(), in VerifyRocksDBOptionsFromFile()
728 parser.cf_opts()->at(i).table_factory.get(), in VerifyRocksDBOptionsFromFile()
/rocksdb-6.9/tools/
Dsst_dump_test.cc60 tb.reset(opts.table_factory->NewTableBuilder( in createSST()
156 opts.table_factory.reset(new BlockBasedTableFactory(table_opts)); in TEST_F()
178 opts.table_factory.reset(new BlockBasedTableFactory(table_opts)); in TEST_F()
200 opts.table_factory.reset(new BlockBasedTableFactory(table_opts)); in TEST_F()
222 opts.table_factory.reset(new BlockBasedTableFactory(table_opts)); in TEST_F()
Dsst_dump_tool.cc136 if (BlockBasedTableFactory::kName == options_.table_factory->Name()) { in NewTableReader()
137 return options_.table_factory->NewTableReader( in NewTableReader()
144 return options_.table_factory->NewTableReader( in NewTableReader()
296 options_.table_factory = std::make_shared<BlockBasedTableFactory>(); in SetTableOptionsByMagicNumber()
321 options_.table_factory.reset(NewPlainTableFactory(plain_table_options)); in SetTableOptionsByMagicNumber()
336 options_.table_factory = std::make_shared<BlockBasedTableFactory>(); in SetOldTableOptions()
Ddb_sanity_test.cc148 options_.table_factory.reset(NewBlockBasedTableFactory(table_options)); in SanityTestZlibCompressionVersion2()
203 options_.table_factory.reset(NewPlainTableFactory()); in SanityTestPlainTableFactory()
221 options_.table_factory.reset(NewBlockBasedTableFactory(table_options)); in SanityTestBloomFilter()
/rocksdb-6.9/examples/
Doptions_file_example.cc56 cf_descs[0].options.table_factory.reset(NewBlockBasedTableFactory(bbt_opts)); in main()
58 cf_descs[1].options.table_factory.reset(NewBlockBasedTableFactory(bbt_opts)); in main()
90 loaded_cf_descs[0].options.table_factory->GetOptions()); in main()
/rocksdb-6.9/utilities/persistent_cache/
Dpersistent_cache_test.cc340 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in RunTest()
348 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in RunTest()
358 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in RunTest()
367 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in RunTest()
376 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in RunTest()
/rocksdb-6.9/utilities/simulator_cache/
Dsim_cache_test.cc38 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in GetOptions()
87 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
154 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_F()
/rocksdb-6.9/utilities/leveldb_options/
Dleveldb_options.cc51 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in ConvertOptions()

123