Home
last modified time | relevance | path

Searched refs:LookupKey (Results 1 – 23 of 23) sorted by relevance

/rocksdb-6.9/db/
Dlookup_key.h20 class LookupKey {
24 LookupKey(const Slice& _user_key, SequenceNumber sequence,
27 ~LookupKey();
58 LookupKey(const LookupKey&);
59 void operator=(const LookupKey&);
62 inline LookupKey::~LookupKey() { in ~LookupKey()
Dmemtable_list_test.cc222 LookupKey lkey("key1", seq); in TEST_F()
247 found = mem->Get(LookupKey("key1", seq), &value, in TEST_F()
254 found = mem->Get(LookupKey("key1", 2), &value, in TEST_F()
261 found = mem->Get(LookupKey("key2", seq), &value, in TEST_F()
310 LookupKey("key2", 1), &value, /*timestamp*/nullptr, &s, in TEST_F()
339 LookupKey lkey("key1", seq); in TEST_F()
363 found = mem->Get(LookupKey("key1", seq), &value, in TEST_F()
370 found = mem->Get(LookupKey("key2", seq), &value, in TEST_F()
382 found = list.current()->Get(LookupKey("key1", seq), &value, in TEST_F()
388 found = list.current()->Get(LookupKey("key2", seq), &value, in TEST_F()
[all …]
Dmemtable_list.h61 bool Get(const LookupKey& key, std::string* value, std::string* timestamp,
67 bool Get(const LookupKey& key, std::string* value, std::string* timestamp,
83 bool GetMergeOperands(const LookupKey& key, Status* s,
92 bool GetFromHistory(const LookupKey& key, std::string* value,
98 bool GetFromHistory(const LookupKey& key, std::string* value,
153 bool GetFromList(std::list<MemTable*>* list, const LookupKey& key,
Dmemtable.h211 bool Get(const LookupKey& key, std::string* value, Status* s,
221 bool Get(const LookupKey& key, std::string* value, std::string* timestamp,
227 bool Get(const LookupKey& key, std::string* value, std::string* timestamp,
274 size_t CountSuccessiveMergeEntries(const LookupKey& key);
543 void GetFromTable(const LookupKey& key,
Dcompacted_db_impl.cc41 LookupKey lkey(key, kMaxSequenceNumber); in Get()
59 LookupKey lkey(key, kMaxSequenceNumber); in MultiGet()
74 LookupKey lkey(keys[idx], kMaxSequenceNumber); in MultiGet()
Dmemtable.cc598 const LookupKey* key;
778 bool MemTable::Get(const LookupKey& key, std::string* value, in Get()
840 void MemTable::GetFromTable(const LookupKey& key, in GetFromTable()
942 LookupKey lkey(key, seq); in Update()
1001 LookupKey lkey(key, seq); in UpdateCallback()
1076 size_t MemTable::CountSuccessiveMergeEntries(const LookupKey& key) { in CountSuccessiveMergeEntries()
1111 void MemTableRep::Get(const LookupKey& k, void* callback_args, in Get()
Ddbformat.cc171 LookupKey::LookupKey(const Slice& _user_key, SequenceNumber s, in LookupKey() function in ROCKSDB_NAMESPACE::LookupKey
Dmemtable_list.cc106 bool MemTableListVersion::Get(const LookupKey& key, std::string* value, in Get()
129 const LookupKey& key, Status* s, MergeContext* merge_context, in GetMergeOperands()
143 const LookupKey& key, std::string* value, std::string* timestamp, Status* s, in GetFromHistory()
152 std::list<MemTable*>* list, const LookupKey& key, std::string* value, in GetFromList()
Ddb_memtable_test.cc44 void Get(const LookupKey& k, void* callback_args, in Get()
263 LookupKey lkey("key", kMaxSequenceNumber); in TEST_F()
Dversion_set.h62 class LookupKey; variable
608 void Get(const ReadOptions&, const LookupKey& key, PinnableSlice* value,
Ddb_test_util.h156 virtual void Get(const LookupKey& k, void* callback_args, in Get()
Dwrite_batch.cc1686 LookupKey lkey(key, sequence_); in MergeCF()
Dversion_set.cc1735 void Version::Get(const ReadOptions& read_options, const LookupKey& k, in Get()
/rocksdb-6.9/table/
Dmultiget_context.h22 LookupKey* lkey;
98 lookup_key_ptr_(reinterpret_cast<LookupKey*>(lookup_key_stack_buf)) { in MultiGetContext()
100 lookup_key_heap_buf.reset(new char[sizeof(LookupKey) * num_keys]); in MultiGetContext()
101 lookup_key_ptr_ = reinterpret_cast<LookupKey*>( in MultiGetContext()
109 LookupKey(*sorted_keys_[iter]->key, snapshot); in MultiGetContext()
117 lookup_key_ptr_[i].~LookupKey(); in ~MultiGetContext()
123 alignas(alignof(LookupKey))
124 char lookup_key_stack_buf[sizeof(LookupKey) * MAX_LOOKUP_KEYS_ON_STACK];
129 LookupKey* lookup_key_ptr_;
/rocksdb-6.9/include/rocksdb/
Dmemtablerep.h48 class LookupKey; variable
189 virtual void Get(const LookupKey& k, void* callback_args,
/rocksdb-6.9/memtable/
Dvectorrep.cc43 void Get(const LookupKey& k, void* callback_args,
250 void VectorRep::Get(const LookupKey& k, void* callback_args, in Get()
Dhash_skiplist_rep.cc37 void Get(const LookupKey& k, void* callback_args,
289 void HashSkipListRep::Get(const LookupKey& k, void* callback_args, in Get()
Dhash_linklist_rep.cc179 void Get(const LookupKey& k, void* callback_args,
715 void HashLinkListRep::Get(const LookupKey& k, void* callback_args, in Get()
Dmemtablerep_bench.cc128 LookupKey* key;
314 LookupKey lookup_key(user_key, *sequence_); in ReadOne()
Dskiplistrep.cc80 void Get(const LookupKey& k, void* callback_args, in Get()
/rocksdb-6.9/db/db_impl/
Ddb_impl_readonly.cc49 LookupKey lkey(key, snapshot); in Get()
Ddb_impl_secondary.cc339 LookupKey lkey(key, snapshot); in GetImpl()
Ddb_impl.cc1601 LookupKey lkey(key, snapshot, read_options.timestamp); in GetImpl()
1767 LookupKey lkey(keys[i], consistent_seqnum, read_options.timestamp); in MultiGet()
3863 LookupKey lkey(key, current_seq); in GetLatestSequenceForKey()