Home
last modified time | relevance | path

Searched refs:BlockBasedTableOptions (Results 1 – 25 of 90) sorted by relevance

1234

/rocksdb-6.9/table/block_based/
Dblock_based_table_factory.h47 const BlockBasedTableOptions& table_options = BlockBasedTableOptions());
72 const BlockBasedTableOptions& table_options() const;
81 BlockBasedTableOptions table_options_;
107 {offsetof(struct BlockBasedTableOptions,
111 {offsetof(struct BlockBasedTableOptions,
115 {offsetof(struct BlockBasedTableOptions,
119 {offsetof(struct BlockBasedTableOptions, index_type),
134 {offsetof(struct BlockBasedTableOptions,
138 {offsetof(struct BlockBasedTableOptions, checksum),
145 {offsetof(struct BlockBasedTableOptions, block_size),
[all …]
Ddata_block_footer.cc25 BlockBasedTableOptions::DataBlockIndexType index_type, in PackIndexTypeAndNumRestarts()
32 if (index_type == BlockBasedTableOptions::kDataBlockBinaryAndHash) { in PackIndexTypeAndNumRestarts()
34 } else if (index_type != BlockBasedTableOptions::kDataBlockBinarySearch) { in PackIndexTypeAndNumRestarts()
43 BlockBasedTableOptions::DataBlockIndexType* index_type, in UnPackIndexTypeAndNumRestarts()
47 *index_type = BlockBasedTableOptions::kDataBlockBinaryAndHash; in UnPackIndexTypeAndNumRestarts()
49 *index_type = BlockBasedTableOptions::kDataBlockBinarySearch; in UnPackIndexTypeAndNumRestarts()
Dindex_builder.h38 BlockBasedTableOptions::IndexType index_type,
42 const BlockBasedTableOptions& table_opt);
127 BlockBasedTableOptions::IndexShorteningMode shortening_mode, in ShortenedIndexBuilder()
154 BlockBasedTableOptions::IndexShorteningMode::kNoShortening) { in AddIndexEntry()
165 if (shortening_mode_ == BlockBasedTableOptions::IndexShorteningMode:: in AddIndexEntry()
223 BlockBasedTableOptions::IndexShorteningMode shortening_mode_;
262 BlockBasedTableOptions::IndexShorteningMode shortening_mode) in HashIndexBuilder()
370 const BlockBasedTableOptions& table_opt);
373 const BlockBasedTableOptions& table_opt,
433 const BlockBasedTableOptions& table_opt_;
Dindex_builder.cc28 BlockBasedTableOptions::IndexType index_type, in CreateIndexBuilder()
32 const BlockBasedTableOptions& table_opt) { in CreateIndexBuilder()
35 case BlockBasedTableOptions::kBinarySearch: { in CreateIndexBuilder()
41 case BlockBasedTableOptions::kHashSearch: { in CreateIndexBuilder()
50 case BlockBasedTableOptions::kTwoLevelIndexSearch: { in CreateIndexBuilder()
54 case BlockBasedTableOptions::kBinarySearchWithFirstKey: { in CreateIndexBuilder()
70 const BlockBasedTableOptions& table_opt) { in CreateIndexBuilder()
77 const BlockBasedTableOptions& table_opt, in PartitionedIndexBuilder()
Dblock_based_table_factory.cc163 const BlockBasedTableOptions& _table_options) in BlockBasedTableFactory()
189 if (table_options_.index_type == BlockBasedTableOptions::kHashSearch && in BlockBasedTableFactory()
196 BlockBasedTableOptions::kTwoLevelIndexSearch) { in BlockBasedTableFactory()
239 if (table_options_.index_type == BlockBasedTableOptions::kHashSearch && in SanitizeOptions()
277 BlockBasedTableOptions::kDataBlockBinaryAndHash && in SanitizeOptions()
421 std::string* opt_string, const BlockBasedTableOptions& bbt_options, in SerializeSingleBlockBasedTableOption()
475 BlockBasedTableOptions* new_options, in ParseBlockBasedTableOption()
549 BlockBasedTableOptions* new_table_options) { in GetBlockBasedTableOptionsFromString()
561 const BlockBasedTableOptions& table_options, in GetBlockBasedTableOptionsFromMap()
563 BlockBasedTableOptions* new_table_options, bool input_strings_escaped, in GetBlockBasedTableOptionsFromMap()
[all …]
Dblock_builder.cc48 BlockBasedTableOptions::DataBlockIndexType index_type, in BlockBuilder()
57 case BlockBasedTableOptions::kDataBlockBinarySearch: in BlockBuilder()
59 case BlockBasedTableOptions::kDataBlockBinaryAndHash: in BlockBuilder()
119 BlockBasedTableOptions::DataBlockIndexType index_type = in Finish()
120 BlockBasedTableOptions::kDataBlockBinarySearch; in Finish()
124 index_type = BlockBasedTableOptions::kDataBlockBinaryAndHash; in Finish()
Ddata_block_hash_index_test.cc271 BlockBasedTableOptions::kDataBlockBinaryAndHash); in TEST()
290 BlockBasedTableOptions::kDataBlockBinaryAndHash); in TEST()
312 BlockBasedTableOptions::kDataBlockBinarySearch); in TEST()
324 BlockBasedTableOptions::kDataBlockBinaryAndHash); in TEST()
343 BlockBasedTableOptions::kDataBlockBinaryAndHash); in TEST()
368 BlockBasedTableOptions::kDataBlockBinarySearch); in TEST()
378 BlockBasedTableOptions::kDataBlockBinaryAndHash); in TEST()
453 BlockBasedTableOptions::kDataBlockBinaryAndHash); in TEST()
601 BlockBasedTableOptions table_options; in TEST()
603 BlockBasedTableOptions::kDataBlockBinaryAndHash; in TEST()
Dblock_based_table_reader.h38 struct BlockBasedTableOptions;
90 const BlockBasedTableOptions& table_options,
415 const BlockBasedTableOptions& table_options, const int level,
476 const BlockBasedTableOptions& _table_opt, in Rep()
485 index_type(BlockBasedTableOptions::IndexType::kBinarySearch), in Rep()
495 const BlockBasedTableOptions table_options;
526 BlockBasedTableOptions::IndexType index_type;
Ddata_block_footer.h17 BlockBasedTableOptions::DataBlockIndexType index_type,
22 BlockBasedTableOptions::DataBlockIndexType* index_type,
Dreader_common.h18 const BlockBasedTableOptions& table_options) { in GetMemoryAllocator()
25 const BlockBasedTableOptions& table_options) { in GetMemoryAllocatorForCompressedBlock()
Dblock_based_table_builder.cc57 typedef BlockBasedTableOptions::IndexType IndexType;
68 const BlockBasedTableOptions& table_opt = context.table_options; in CreateFilterBlockBuilder()
231 BlockBasedTableOptions::IndexType index_type, bool whole_key_filtering, in BlockBasedTablePropertiesCollector()
274 BlockBasedTableOptions::IndexType index_type_;
282 const BlockBasedTableOptions table_options;
361 const BlockBasedTableOptions& table_opt, in Rep()
385 ? BlockBasedTableOptions::kDataBlockBinarySearch in Rep()
412 BlockBasedTableOptions::kTwoLevelIndexSearch) { in Rep()
458 const BlockBasedTableOptions& table_options, in BlockBasedTableBuilder()
469 BlockBasedTableOptions sanitized_table_options(table_options); in BlockBasedTableBuilder()
[all …]
Dblock_builder.h28 BlockBasedTableOptions::DataBlockIndexType index_type =
29 BlockBasedTableOptions::kDataBlockBinarySearch,
Dblock.cc844 BlockBasedTableOptions::DataBlockIndexType index_type; in NumRestarts()
849 BlockBasedTableOptions::DataBlockIndexType Block::IndexType() const { in IndexType()
853 return BlockBasedTableOptions::kDataBlockBinarySearch; in IndexType()
857 BlockBasedTableOptions::DataBlockIndexType index_type; in IndexType()
882 case BlockBasedTableOptions::kDataBlockBinarySearch: in Block()
891 case BlockBasedTableOptions::kDataBlockBinaryAndHash: in Block()
/rocksdb-6.9/options/
Doptions_settable_test.cc88 {offsetof(struct BlockBasedTableOptions, block_cache), in TEST_F()
94 {offsetof(struct BlockBasedTableOptions, filter_policy), in TEST_F()
104 char* bbto_ptr = new char[sizeof(BlockBasedTableOptions)]; in TEST_F()
109 BlockBasedTableOptions* bbto = new (bbto_ptr) BlockBasedTableOptions(); in TEST_F()
114 *bbto = BlockBasedTableOptions(); in TEST_F()
118 bbto->~BlockBasedTableOptions(); in TEST_F()
122 bbto = new (bbto_ptr) BlockBasedTableOptions(); in TEST_F()
128 BlockBasedTableOptions* new_bbto = in TEST_F()
129 new (new_bbto_ptr) BlockBasedTableOptions(); in TEST_F()
166 bbto->~BlockBasedTableOptions(); in TEST_F()
[all …]
Doptions_helper.cc534 return ParseEnum<BlockBasedTableOptions::IndexType>( in ParseOptionHelper()
538 return ParseEnum<BlockBasedTableOptions::DataBlockIndexType>( in ParseOptionHelper()
543 return ParseEnum<BlockBasedTableOptions::IndexShorteningMode>( in ParseOptionHelper()
731 return SerializeEnum<BlockBasedTableOptions::IndexType>( in SerializeSingleOptionHelper()
733 *reinterpret_cast<const BlockBasedTableOptions::IndexType*>( in SerializeSingleOptionHelper()
1000 BlockBasedTableOptions table_opt, base_table_options; in ParseColumnFamilyOption()
1384 BlockBasedTableOptions bbt_opt; in GetTableFactoryFromMap()
1690 std::unordered_map<std::string, BlockBasedTableOptions::IndexType>
1695 BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch},
1709 BlockBasedTableOptions::IndexShorteningMode::kNoShortening},
[all …]
Doptions_helper.h169 static std::unordered_map<std::string, BlockBasedTableOptions::IndexType>
172 BlockBasedTableOptions::DataBlockIndexType>
175 BlockBasedTableOptions::IndexShorteningMode>
/rocksdb-6.9/table/
Dtable_test.cc173 const BlockBasedTableOptions& table_options, in Finish()
1036 BlockBasedTableOptions table_options_ = BlockBasedTableOptions();
1081 BlockBasedTableOptions GetBlockBasedTableOptions() { in GetBlockBasedTableOptions()
1082 BlockBasedTableOptions options; in GetBlockBasedTableOptions()
2974 BlockBasedTableOptions table_options; in ValidateBlockSizeDeviation()
2986 BlockBasedTableOptions table_options; in ValidateBlockRestartInterval()
3196 BlockBasedTableOptions table_options; in TEST_P()
3487 BlockBasedTableOptions table_options; in TEST_F()
3523 BlockBasedTableOptions table_options; in DoCompressionTest()
3909 BlockBasedTableOptions table_options; in TEST_P()
[all …]
/rocksdb-6.9/db/
Ddb_bloom_filter_test.cc84 static_cast<BlockBasedTableOptions*>( in TEST_P()
155 BlockBasedTableOptions bbto; in TEST_F()
221 BlockBasedTableOptions bbto; in TEST_F()
273 BlockBasedTableOptions bbto; in TEST_F()
437 BlockBasedTableOptions table_options; in TEST_P()
567 BlockBasedTableOptions table_options; in TEST_F()
611 BlockBasedTableOptions table_options; in TEST_F()
690 BlockBasedTableOptions table_options; in TEST_F()
901 BlockBasedTableOptions bbto; in TEST_F()
930 BlockBasedTableOptions bbto; in TEST_F()
[all …]
Ddb_block_cache_test.cc37 BlockBasedTableOptions GetTableOptions() { in GetTableOptions()
38 BlockBasedTableOptions table_options; in GetTableOptions()
44 Options GetOptions(const BlockBasedTableOptions& table_options) { in GetOptions()
296 BlockBasedTableOptions table_options; in TEST_F()
382 BlockBasedTableOptions table_options; in TEST_F()
467 BlockBasedTableOptions table_options; in TEST_F()
525 BlockBasedTableOptions table_options; in TEST_F()
580 BlockBasedTableOptions table_options; in TEST_F()
617 BlockBasedTableOptions table_options_no_bc; in TEST_F()
709 BlockBasedTableOptions table_options; in TEST_F()
/rocksdb-6.9/include/rocksdb/
Dconvenience.h244 const BlockBasedTableOptions& table_options,
246 BlockBasedTableOptions* new_table_options,
302 const BlockBasedTableOptions& table_options, const std::string& opts_str,
303 BlockBasedTableOptions* new_table_options);
Dfilter_policy.h33 struct BlockBasedTableOptions;
91 FilterBuildingContext(const BlockBasedTableOptions& table_options);
94 const BlockBasedTableOptions& table_options;
Dtable.h53 struct BlockBasedTableOptions { struct
333 const BlockBasedTableOptions& table_options = BlockBasedTableOptions()); argument
Dflush_block_policy.h40 const BlockBasedTableOptions& table_options,
53 const BlockBasedTableOptions& table_options,
/rocksdb-6.9/db_stress_tool/
Ddb_stress_gflags.cc203 ROCKSDB_NAMESPACE::BlockBasedTableOptions().block_size),
208 ROCKSDB_NAMESPACE::BlockBasedTableOptions().format_version),
213 ROCKSDB_NAMESPACE::BlockBasedTableOptions().index_block_restart_interval,
364 ROCKSDB_NAMESPACE::BlockBasedTableOptions::kBinarySearch),
/rocksdb-6.9/tools/
Dsst_dump_test.cc153 BlockBasedTableOptions table_opts; in TEST_F()
175 BlockBasedTableOptions table_opts; in TEST_F()
197 BlockBasedTableOptions table_opts; in TEST_F()
219 BlockBasedTableOptions table_opts; in TEST_F()

1234