Home
last modified time | relevance | path

Searched refs:IndexType (Results 1 – 25 of 30) sorted by relevance

12

/rocksdb-6.9/java/src/test/java/org/rocksdb/
DBlockBasedTableConfigTest.java62 assertThat(IndexType.values().length).isEqualTo(3); in indexType()
63 blockBasedTableConfig.setIndexType(IndexType.kHashSearch); in indexType()
65 IndexType.kHashSearch)); in indexType()
66 assertThat(IndexType.valueOf("kBinarySearch")).isNotNull(); in indexType()
67 blockBasedTableConfig.setIndexType(IndexType.valueOf("kBinarySearch")); in indexType()
69 IndexType.kBinarySearch)); in indexType()
/rocksdb-6.9/test_util/
Dtestutil.cc206 using IndexType = BlockBasedTableOptions::IndexType; in RandomBlockBasedTableOptions() typedef
207 const std::array<IndexType, 4> index_types = { in RandomBlockBasedTableOptions()
208 {IndexType::kBinarySearch, IndexType::kHashSearch, in RandomBlockBasedTableOptions()
209 IndexType::kTwoLevelIndexSearch, IndexType::kBinarySearchWithFirstKey}}; in RandomBlockBasedTableOptions()
/rocksdb-6.9/java/src/main/java/org/rocksdb/
DBlockBasedTableConfig.java21 indexType = IndexType.kBinarySearch; in BlockBasedTableConfig()
155 public IndexType indexType() { in indexType()
166 final IndexType indexType) { in setIndexType()
957 private IndexType indexType;
DIndexType.java11 public enum IndexType { enum
36 IndexType(byte value) { in IndexType() method in IndexType
/rocksdb-6.9/utilities/persistent_cache/
Dvolatile_tier_impl.h128 IndexType; typedef
134 IndexType index_; // in-memory cache
/rocksdb-6.9/include/rocksdb/
Dtable.h93 enum IndexType : char { enum
124 IndexType index_type = kBinarySearch;
/rocksdb-6.9/table/block_based/
Ddata_block_hash_index_test.cc289 ASSERT_EQ(reader.IndexType(), in TEST()
311 ASSERT_EQ(reader.IndexType(), in TEST()
342 ASSERT_EQ(reader.IndexType(), in TEST()
367 ASSERT_EQ(reader.IndexType(), in TEST()
Dblock_based_table_reader.h485 index_type(BlockBasedTableOptions::IndexType::kBinarySearch), in Rep()
526 BlockBasedTableOptions::IndexType index_type;
Dblock_based_table_builder.cc57 typedef BlockBasedTableOptions::IndexType IndexType; typedef
231 BlockBasedTableOptions::IndexType index_type, bool whole_key_filtering, in BlockBasedTablePropertiesCollector()
274 BlockBasedTableOptions::IndexType index_type_;
Dindex_builder.cc28 BlockBasedTableOptions::IndexType index_type, in CreateIndexBuilder()
Dblock.cc849 BlockBasedTableOptions::DataBlockIndexType Block::IndexType() const { in IndexType() function in ROCKSDB_NAMESPACE::Block
881 switch (IndexType()) { in Block()
Dindex_builder.h38 BlockBasedTableOptions::IndexType index_type,
Dblock.h169 BlockBasedTableOptions::DataBlockIndexType IndexType() const;
Dblock_based_table_reader.cc846 rep_->index_type = static_cast<BlockBasedTableOptions::IndexType>( in ReadPropertiesBlock()
941 BlockBasedTableOptions::IndexType index_type = rep_->index_type; in PrefetchIndexAndFilterBlocks()
/rocksdb-6.9/options/
Doptions_helper.cc534 return ParseEnum<BlockBasedTableOptions::IndexType>( in ParseOptionHelper()
536 reinterpret_cast<BlockBasedTableOptions::IndexType*>(opt_address)); in ParseOptionHelper()
731 return SerializeEnum<BlockBasedTableOptions::IndexType>( in SerializeSingleOptionHelper()
733 *reinterpret_cast<const BlockBasedTableOptions::IndexType*>( in SerializeSingleOptionHelper()
1690 std::unordered_map<std::string, BlockBasedTableOptions::IndexType>
1692 {"kBinarySearch", BlockBasedTableOptions::IndexType::kBinarySearch},
1693 {"kHashSearch", BlockBasedTableOptions::IndexType::kHashSearch},
1695 BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch},
1697 BlockBasedTableOptions::IndexType::kBinarySearchWithFirstKey}};
Doptions_helper.h169 static std::unordered_map<std::string, BlockBasedTableOptions::IndexType>
Doptions_parser.cc570 *reinterpret_cast<const BlockBasedTableOptions::IndexType*>( in AreEqualOptions()
572 *reinterpret_cast<const BlockBasedTableOptions::IndexType*>(offset2)); in AreEqualOptions()
Doptions.cc503 BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch; in OptimizeForSmallDb()
/rocksdb-6.9/db/
Ddb_bloom_filter_test.cc159 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()
443 BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch; in TEST_P()
595 BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch; in TEST_F()
615 BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch; in TEST_F()
1065 BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch; in BloomStatsTestWithParam()
Ddb_iterator_test.cc1139 BlockBasedTableOptions::IndexType::kBinarySearchWithFirstKey; in TEST_P()
1230 BlockBasedTableOptions::IndexType::kBinarySearchWithFirstKey; in TEST_P()
Ddb_test_util.cc434 BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch; in GetOptions()
/rocksdb-6.9/docs/_posts/
D2017-03-02-rocksdb-5-2-1-released.markdown15 …rtitions. The feature can be enabled by setting kTwoLevelIndexSearch as IndexType and configuring …
/rocksdb-6.9/java/rocksjni/
Dportal.h6246 const ROCKSDB_NAMESPACE::BlockBasedTableOptions::IndexType& index_type) { in toJavaIndexType()
6248 case ROCKSDB_NAMESPACE::BlockBasedTableOptions::IndexType::kBinarySearch: in toJavaIndexType()
6250 case ROCKSDB_NAMESPACE::BlockBasedTableOptions::IndexType::kHashSearch: in toJavaIndexType()
6252 case ROCKSDB_NAMESPACE::BlockBasedTableOptions::IndexType:: in toJavaIndexType()
6255 case ROCKSDB_NAMESPACE::BlockBasedTableOptions::IndexType:: in toJavaIndexType()
6265 static ROCKSDB_NAMESPACE::BlockBasedTableOptions::IndexType toCppIndexType( in toCppIndexType()
6269 return ROCKSDB_NAMESPACE::BlockBasedTableOptions::IndexType:: in toCppIndexType()
6272 return ROCKSDB_NAMESPACE::BlockBasedTableOptions::IndexType:: in toCppIndexType()
6275 return ROCKSDB_NAMESPACE::BlockBasedTableOptions::IndexType:: in toCppIndexType()
6278 return ROCKSDB_NAMESPACE::BlockBasedTableOptions::IndexType:: in toCppIndexType()
[all …]
/rocksdb-6.9/tools/
Dsst_dump_tool.cc301 auto index_type_on_file = static_cast<BlockBasedTableOptions::IndexType>( in SetTableOptionsByMagicNumber()
304 BlockBasedTableOptions::IndexType::kHashSearch) { in SetTableOptionsByMagicNumber()
/rocksdb-6.9/java/
DCMakeLists.txt148 src/main/java/org/rocksdb/IndexType.java

12