Home
last modified time | relevance | path

Searched refs:GetContext (Results 1 – 25 of 40) sorted by relevance

12

/rocksdb-6.9/table/
Dget_context.cc41 GetContext::GetContext( in GetContext() function in ROCKSDB_NAMESPACE::GetContext
74 GetContext::GetContext( in GetContext() function in ROCKSDB_NAMESPACE::GetContext
81 : GetContext(ucmp, merge_operator, logger, statistics, init_state, user_key, in GetContext()
91 void GetContext::MarkKeyMayExist() { in MarkKeyMayExist()
98 void GetContext::SaveValue(const Slice& value, SequenceNumber /*seq*/) { in SaveValue()
108 void GetContext::ReportCounters() { in ReportCounters()
193 bool GetContext::SaveValue(const ParsedInternalKey& parsed_key, in SaveValue()
349 void GetContext::push_operand(const Slice& value, Cleanable* value_pinner) { in push_operand()
360 GetContext* get_context, Cleanable* value_pinner) { in replayGetContextLog()
Dget_context.h54 class GetContext {
88 GetContext(const Comparator* ucmp, const MergeOperator* merge_operator,
97 GetContext(const Comparator* ucmp, const MergeOperator* merge_operator,
108 GetContext() = delete;
199 GetContext* get_context,
Dtable_reader.h27 class GetContext; variable
99 GetContext* get_context,
/rocksdb-6.9/table/block_based/
Dblock_based_table_reader.h41 class GetContext; variable
195 IndexBlockIter* iter, GetContext* get_context,
257 void UpdateCacheHitMetrics(BlockType block_type, GetContext* get_context,
260 GetContext* get_context) const;
265 GetContext* get_context) const;
288 GetContext* get_context, BlockCacheLookupContext* lookup_context,
299 BlockType block_type, GetContext* get_context,
326 IndexBlockIter* input_iter, GetContext* get_context,
341 GetContext* get_context) const;
363 GetContext* get_context) const;
[all …]
Dpartitioned_filter_block.h81 const Slice* const const_ikey_ptr, GetContext* get_context,
87 GetContext* get_context,
97 bool no_io, GetContext* get_context,
104 const Slice* const const_ikey_ptr, GetContext* get_context,
108 GetContext* get_context,
Dfilter_block.h41 class GetContext; variable
103 GetContext* get_context,
113 GetContext* const get_context = iter->get_context; in KeysMayMatch()
128 GetContext* get_context,
138 GetContext* const get_context = iter->get_context; in PrefixesMayMatch()
Ddata_block_hash_index_test.cc539 GetContext& get_context, Options& options) { in TestBoundary()
632 GetContext get_context(options.comparator, nullptr, nullptr, nullptr, in TEST()
633 GetContext::kNotFound, seek_ukey, &value, nullptr, in TEST()
637 ASSERT_EQ(get_context.State(), GetContext::kFound); in TEST()
657 GetContext get_context(options.comparator, nullptr, nullptr, nullptr, in TEST()
658 GetContext::kNotFound, seek_ukey, &value, nullptr, in TEST()
662 ASSERT_EQ(get_context.State(), GetContext::kFound); in TEST()
682 GetContext get_context(options.comparator, nullptr, nullptr, nullptr, in TEST()
687 ASSERT_EQ(get_context.State(), GetContext::kFound); in TEST()
707 GetContext get_context(options.comparator, nullptr, nullptr, nullptr, in TEST()
[all …]
Duncompression_dict_reader.h18 class GetContext; variable
34 FilePrefetchBuffer* prefetch_buffer, bool no_io, GetContext* get_context,
51 const ReadOptions& read_options, bool use_cache, GetContext* get_context,
Dblock_based_filter_block.h96 const Slice* const const_ikey_ptr, GetContext* get_context,
102 GetContext* get_context,
115 GetContext* get_context,
Dfull_filter_block.h98 const Slice* const const_ikey_ptr, GetContext* get_context,
105 GetContext* get_context,
126 bool MayMatch(const Slice& entry, bool no_io, GetContext* get_context,
Dfilter_block_reader_common.h35 GetContext* get_context,
44 Status GetOrReadFilterBlock(bool no_io, GetContext* get_context,
Dindex_reader_common.cc14 const ReadOptions& read_options, bool use_cache, GetContext* get_context, in ReadIndexBlock()
35 bool no_io, GetContext* get_context, in GetOrReadIndexBlock()
Dpartitioned_filter_block.cc161 GetContext* get_context, BlockCacheLookupContext* lookup_context) { in KeyMayMatch()
176 GetContext* get_context, BlockCacheLookupContext* lookup_context) { in PrefixMayMatch()
217 bool no_io, GetContext* get_context, in GetFilterPartitionBlock()
251 GetContext* get_context, BlockCacheLookupContext* lookup_context, in MayMatch()
Dindex_reader_common.h32 GetContext* get_context,
69 Status GetOrReadIndexBlock(bool no_io, GetContext* get_context,
Dfilter_block_reader_common.cc17 const ReadOptions& read_options, bool use_cache, GetContext* get_context, in ReadFilterBlock()
67 bool no_io, GetContext* get_context, in GetOrReadFilterBlock()
Dfull_filter_block.cc109 const Slice* const /*const_ikey_ptr*/, GetContext* get_context, in KeyMayMatch()
150 const Slice* const /*const_ikey_ptr*/, GetContext* get_context, in PrefixMayMatch()
160 const Slice& entry, bool no_io, GetContext* get_context, in MayMatch()
Duncompression_dict_reader.cc46 const ReadOptions& read_options, bool use_cache, GetContext* get_context, in ReadUncompressionDictionary()
77 FilePrefetchBuffer* prefetch_buffer, bool no_io, GetContext* get_context, in GetOrReadUncompressionDictionary()
Dblock_based_table_reader.cc223 GetContext* get_context, in UpdateCacheHitMetrics()
396 GetContext* get_context) const { in GetEntryFromCache()
1096 GetContext* get_context) const { in GetDataBlockFromCache()
1198 GetContext* get_context) const { in PutDataBlockToCache()
1328 IndexBlockIter* input_iter, GetContext* get_context, in NewIndexIterator()
1374 GetContext* get_context, BlockCacheLookupContext* lookup_context, in MaybeReadBlockAndLoadToCache()
1775 GetContext* get_context, BlockCacheLookupContext* lookup_context, in RetrieveBlock()
1842 GetContext* get_context, BlockCacheLookupContext* lookup_context,
2065 const SliceTransform* prefix_extractor, GetContext* get_context, in FullFilterKeyMayMatch()
2117 GetContext* get_context, in Get()
[all …]
Dblock_based_filter_block.cc202 const Slice* const /*const_ikey_ptr*/, GetContext* get_context, in KeyMayMatch()
214 const Slice* const /*const_ikey_ptr*/, GetContext* get_context, in PrefixMayMatch()
248 GetContext* get_context, BlockCacheLookupContext* lookup_context) const { in MayMatch()
/rocksdb-6.9/db/
Dcompacted_db_impl.cc38 GetContext get_context(user_comparator_, nullptr, nullptr, nullptr, in Get()
39 GetContext::kNotFound, key, value, nullptr, nullptr, in Get()
44 if (get_context.State() == GetContext::kFound) { in Get()
71 GetContext get_context(user_comparator_, nullptr, nullptr, nullptr, in MultiGet()
72 GetContext::kNotFound, keys[idx], &pinnable_val, in MultiGet()
77 if (get_context.State() == GetContext::kFound) { in MultiGet()
Dtable_cache.h33 class GetContext; variable
91 GetContext* get_context,
211 GetContext* get_context, IterKey& row_cache_key);
216 size_t prefix_size, GetContext* get_context);
Dtable_cache.cc284 GetContext* get_context, in CreateRowCacheKeyPrefix()
318 size_t prefix_size, GetContext* get_context) { in GetFromRowCache()
356 GetContext* get_context, in Get()
458 GetContext* first_context = first_key.get_context; in MultiGet()
467 GetContext* get_context = miter->get_context; in MultiGet()
531 GetContext* get_context = miter->get_context; in MultiGet()
Dversion_set.cc1757 GetContext get_context( in Get()
1759 status->ok() ? GetContext::kNotFound : GetContext::kMerge, user_key, in Get()
1813 case GetContext::kNotFound: in Get()
1816 case GetContext::kMerge: in Get()
1819 case GetContext::kFound: in Get()
1830 case GetContext::kDeleted: in Get()
1834 case GetContext::kCorrupt: in Get()
1837 case GetContext::kBlobIndex: in Get()
1899 iter->s->ok() ? GetContext::kNotFound : GetContext::kMerge, iter->ukey, in MultiGet()
1983 case GetContext::kMerge: in MultiGet()
[all …]
/rocksdb-6.9/table/cuckoo/
Dcuckoo_table_reader_test.cc125 GetContext get_context(ucomp, nullptr, nullptr, nullptr, in CreateCuckooFileAndCheckReader()
126 GetContext::kNotFound, Slice(user_keys[i]), &value, in CreateCuckooFileAndCheckReader()
350 GetContext get_context(ucmp, nullptr, nullptr, nullptr, GetContext::kNotFound, in TEST_F()
364 GetContext get_context2(ucmp, nullptr, nullptr, nullptr, in TEST_F()
365 GetContext::kNotFound, Slice(not_found_key2), &value, in TEST_F()
380 GetContext get_context3(ucmp, nullptr, nullptr, nullptr, in TEST_F()
381 GetContext::kNotFound, Slice(unused_key), &value, in TEST_F()
458 GetContext get_context(nullptr, nullptr, nullptr, nullptr, in WriteFile()
459 GetContext::kNotFound, Slice(), &value, nullptr, in WriteFile()
507 GetContext get_context(nullptr, nullptr, nullptr, nullptr, in ReadKeys()
[all …]
/rocksdb-6.9/table/plain/
Dplain_table_reader.h41 class GetContext; variable
92 GetContext* get_context, const SliceTransform* prefix_extractor,

12