Home
last modified time | relevance | path

Searched refs:index_type (Results 1 – 25 of 33) sorted by relevance

12

/rocksdb-6.9/table/block_based/
Ddata_block_footer.cc25 BlockBasedTableOptions::DataBlockIndexType index_type, in PackIndexTypeAndNumRestarts() argument
32 if (index_type == BlockBasedTableOptions::kDataBlockBinaryAndHash) { in PackIndexTypeAndNumRestarts()
34 } else if (index_type != BlockBasedTableOptions::kDataBlockBinarySearch) { in PackIndexTypeAndNumRestarts()
43 BlockBasedTableOptions::DataBlockIndexType* index_type, in UnPackIndexTypeAndNumRestarts() argument
45 if (index_type) { in UnPackIndexTypeAndNumRestarts()
47 *index_type = BlockBasedTableOptions::kDataBlockBinaryAndHash; in UnPackIndexTypeAndNumRestarts()
49 *index_type = BlockBasedTableOptions::kDataBlockBinarySearch; in UnPackIndexTypeAndNumRestarts()
Dblock_builder.cc48 BlockBasedTableOptions::DataBlockIndexType index_type, in BlockBuilder() argument
56 switch (index_type) { in BlockBuilder()
119 BlockBasedTableOptions::DataBlockIndexType index_type = in Finish() local
124 index_type = BlockBasedTableOptions::kDataBlockBinaryAndHash; in Finish()
128 uint32_t block_footer = PackIndexTypeAndNumRestarts(index_type, num_restarts); in Finish()
Ddata_block_footer.h17 BlockBasedTableOptions::DataBlockIndexType index_type,
22 BlockBasedTableOptions::DataBlockIndexType* index_type,
Dblock.cc844 BlockBasedTableOptions::DataBlockIndexType index_type; in NumRestarts() local
845 UnPackIndexTypeAndNumRestarts(block_footer, &index_type, &num_restarts); in NumRestarts()
857 BlockBasedTableOptions::DataBlockIndexType index_type; in IndexType() local
858 UnPackIndexTypeAndNumRestarts(block_footer, &index_type, &num_restarts); in IndexType()
859 return index_type; in IndexType()
Dblock_based_table_factory.cc189 if (table_options_.index_type == BlockBasedTableOptions::kHashSearch && in BlockBasedTableFactory()
195 table_options_.index_type != in BlockBasedTableFactory()
239 if (table_options_.index_type == BlockBasedTableOptions::kHashSearch && in SanitizeOptions()
317 table_options_.index_type); in GetPrintableTableOptions()
Dindex_builder.cc28 BlockBasedTableOptions::IndexType index_type, in CreateIndexBuilder() argument
34 switch (index_type) { in CreateIndexBuilder()
Dblock_based_table_builder.cc231 BlockBasedTableOptions::IndexType index_type, bool whole_key_filtering, in BlockBasedTablePropertiesCollector() argument
233 : index_type_(index_type), in BlockBasedTablePropertiesCollector()
411 if (table_options.index_type == in Rep()
419 table_options.index_type, &internal_comparator, in Rep()
442 table_options.index_type, table_options.whole_key_filtering, in Rep()
960 if (rep_->table_options.index_type == in WritePropertiesBlock()
Dblock_builder.h28 BlockBasedTableOptions::DataBlockIndexType index_type =
Dblock_based_table_reader.cc846 rep_->index_type = static_cast<BlockBasedTableOptions::IndexType>( in ReadPropertiesBlock()
851 rep_->index_type == BlockBasedTableOptions::kBinarySearchWithFirstKey; in ReadPropertiesBlock()
941 BlockBasedTableOptions::IndexType index_type = rep_->index_type; in PrefetchIndexAndFilterBlocks() local
953 index_type == BlockBasedTableOptions::kTwoLevelIndexSearch); in PrefetchIndexAndFilterBlocks()
957 index_type == BlockBasedTableOptions::kTwoLevelIndexSearch); in PrefetchIndexAndFilterBlocks()
2029 rep_->index_type == BlockBasedTableOptions::kHashSearch, in NewIterator()
2151 if (rep_->index_type == BlockBasedTableOptions::kHashSearch) { in Get()
2323 if (rep_->index_type == BlockBasedTableOptions::kHashSearch) { in MultiGet()
2853 switch (rep_->index_type) { in CreateIndexReader()
2902 "Unrecognized index type: " + ToString(rep_->index_type); in CreateIndexReader()
Dblock_based_table_reader.h485 index_type(BlockBasedTableOptions::IndexType::kBinarySearch), in Rep()
526 BlockBasedTableOptions::IndexType index_type; member
Dblock_based_table_factory.h119 {offsetof(struct BlockBasedTableOptions, index_type),
Dindex_builder.h38 BlockBasedTableOptions::IndexType index_type,
/rocksdb-6.9/tools/advisor/test/input_files/
DOPTIONS-00000532 index_type=kBinarySearch
49 index_type=kBinarySearch
/rocksdb-6.9/db/
Ddb_bloom_filter_test.cc86 ->index_type != BlockBasedTableOptions::kTwoLevelIndexSearch) { in TEST_P()
159 bbto.index_type = BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch; in TEST_F()
225 bbto.index_type = BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch; in TEST_F()
278 bbto.index_type = BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch; in TEST_F()
442 table_options.index_type = in TEST_P()
594 table_options.index_type = in TEST_F()
614 table_options.index_type = in TEST_F()
1064 table_options.index_type = in BloomStatsTestWithParam()
Ddb_test_util.cc433 table_options.index_type = in GetOptions()
490 table_options.index_type = BlockBasedTableOptions::kHashSearch; in GetOptions()
495 table_options.index_type = BlockBasedTableOptions::kHashSearch; in GetOptions()
500 table_options.index_type = BlockBasedTableOptions::kTwoLevelIndexSearch; in GetOptions()
509 table_options.index_type = BlockBasedTableOptions::kTwoLevelIndexSearch; in GetOptions()
/rocksdb-6.9/options/
Doptions_test.cc529 ASSERT_EQ(new_opt.index_type, BlockBasedTableOptions::kHashSearch); in TEST_F()
555 ASSERT_EQ(table_opt.index_type, new_opt.index_type); in TEST_F()
563 ASSERT_EQ(table_opt.index_type, new_opt.index_type); in TEST_F()
571 ASSERT_EQ(table_opt.index_type, new_opt.index_type); in TEST_F()
Doptions.cc502 table_options.index_type = in OptimizeForSmallDb()
/rocksdb-6.9/include/rocksdb/
Dtable.h124 IndexType index_type = kBinarySearch; member
/rocksdb-6.9/java/rocksjni/
Dtable.cc75 options.index_type = in Java_org_rocksdb_BlockBasedTableConfig_newTableFactoryHandle()
Dportal.h6246 const ROCKSDB_NAMESPACE::BlockBasedTableOptions::IndexType& index_type) { in toJavaIndexType() argument
6247 switch (index_type) { in toJavaIndexType()
6295 index_type) { in toJavaDataBlockIndexType()
6296 switch (index_type) { in toJavaDataBlockIndexType()
/rocksdb-6.9/examples/
Drocksdb_option_file_example.ini142 index_type=kBinarySearch
/rocksdb-6.9/table/
Dtable_test.cc1711 table_options.index_type = BlockBasedTableOptions::kBinarySearch; in TEST_P()
1716 table_options.index_type = BlockBasedTableOptions::kHashSearch; in TEST_P()
1722 table_options.index_type = BlockBasedTableOptions::kHashSearch; in TEST_P()
1729 table_options.index_type = BlockBasedTableOptions::kHashSearch; in TEST_P()
1736 table_options.index_type = BlockBasedTableOptions::kTwoLevelIndexSearch; in TEST_P()
1741 table_options.index_type = in TEST_P()
2098 table_options.index_type = BlockBasedTableOptions::kBinarySearch; in TEST_P()
2104 table_options.index_type = BlockBasedTableOptions::kHashSearch; in TEST_P()
2114 table_options.index_type = BlockBasedTableOptions::kTwoLevelIndexSearch; in TEST_P()
2161 table_options.index_type = BlockBasedTableOptions::kBinarySearchWithFirstKey; in TEST_P()
[all …]
/rocksdb-6.9/db_stress_tool/
Ddb_stress_gflags.cc362 index_type,
Ddb_stress_common.h148 DECLARE_int32(index_type);
/rocksdb-6.9/test_util/
Dtestutil.cc210 opt.index_type = in RandomBlockBasedTableOptions()

12