Searched refs:WriteBatch (Results 1 – 19 of 19) sorted by relevance
| /leveldb-1.20/db/ |
| H A D | write_batch_internal.h | 20 static int Count(const WriteBatch* batch); 23 static void SetCount(WriteBatch* batch, int n); 26 static SequenceNumber Sequence(const WriteBatch* batch); 30 static void SetSequence(WriteBatch* batch, SequenceNumber seq); 32 static Slice Contents(const WriteBatch* batch) { in Contents() 36 static size_t ByteSize(const WriteBatch* batch) { in ByteSize() 40 static void SetContents(WriteBatch* batch, const Slice& contents); 42 static Status InsertInto(const WriteBatch* batch, MemTable* memtable); 44 static void Append(WriteBatch* dst, const WriteBatch* src);
|
| H A D | write_batch.cc | 29 WriteBatch::WriteBatch() { in WriteBatch() function in leveldb::WriteBatch 33 WriteBatch::~WriteBatch() { } in ~WriteBatch() 35 WriteBatch::Handler::~Handler() { } in ~Handler() 37 void WriteBatch::Clear() { in Clear() 42 Status WriteBatch::Iterate(Handler* handler) const { in Iterate() 82 int WriteBatchInternal::Count(const WriteBatch* b) { in Count() 86 void WriteBatchInternal::SetCount(WriteBatch* b, int n) { in SetCount() 105 void WriteBatch::Delete(const Slice& key) { in Delete() 112 class MemTableInserter : public WriteBatch::Handler { 128 Status WriteBatchInternal::InsertInto(const WriteBatch* b, in InsertInto() [all …]
|
| H A D | write_batch_test.cc | 15 static std::string PrintContents(WriteBatch* b) { in PrintContents() 58 WriteBatch batch; in TEST() 64 WriteBatch batch; in TEST() 78 WriteBatch batch; in TEST() 91 WriteBatch b1, b2; in TEST()
|
| H A D | db_impl.h | 34 virtual Status Write(const WriteOptions& options, WriteBatch* updates); 103 WriteBatch* BuildBatchGroup(Writer** last_writer); 150 WriteBatch* tmp_batch_;
|
| H A D | dumpfile.cc | 71 class WriteBatchItemPrinter : public WriteBatch::Handler { 104 WriteBatch batch; in WriteBatchPrinter()
|
| H A D | db_impl.cc | 43 WriteBatch* batch; 135 tmp_batch_(new WriteBatch), in DBImpl() 410 WriteBatch batch; in RecoverLogFile() 1194 Status DBImpl::Write(const WriteOptions& options, WriteBatch* my_batch) { in Write() 1214 WriteBatch* updates = BuildBatchGroup(&last_writer); in Write() 1269 WriteBatch* DBImpl::BuildBatchGroup(Writer** last_writer) { in BuildBatchGroup() 1272 WriteBatch* result = first->batch; in BuildBatchGroup() 1477 WriteBatch batch; in Put() 1483 WriteBatch batch; in Delete()
|
| H A D | c.cc | 41 using leveldb::WriteBatch; 48 struct leveldb_writebatch_t { WriteBatch rep; }; 367 class H : public WriteBatch::Handler { in leveldb_writebatch_iterate()
|
| H A D | corruption_test.cc | 72 WriteBatch batch; in Build() 226 WriteBatch batch; in TEST()
|
| H A D | recovery_test.cc | 145 WriteBatch batch; in MakeLogFile()
|
| H A D | db_bench.cc | 752 WriteBatch batch; in DoWrite() 863 WriteBatch batch; in DoDelete()
|
| H A D | repair.cc | 199 WriteBatch batch; in ConvertLogToTable()
|
| H A D | fault_injection_test.cc | 396 WriteBatch batch; in Build()
|
| H A D | db_test.cc | 1900 virtual Status Write(const WriteOptions& options, WriteBatch* batch) { in Write() 1901 class Handler : public WriteBatch::Handler { in Write() 2047 WriteBatch b; in TEST()
|
| /leveldb-1.20/include/leveldb/ |
| H A D | write_batch.h | 31 class WriteBatch { 33 WriteBatch(); 34 ~WriteBatch();
|
| H A D | db.h | 22 class WriteBatch; variable 74 virtual Status Write(const WriteOptions& options, WriteBatch* updates) = 0;
|
| /leveldb-1.20/ |
| H A D | NEWS | 16 Allow public access to WriteBatch contents so that users can easily
|
| /leveldb-1.20/issues/ |
| H A D | issue178_test.cc | 45 leveldb::WriteBatch batch; in TEST()
|
| /leveldb-1.20/doc/ |
| H A D | index.md | 72 be avoided by using the `WriteBatch` class to atomically apply a set of updates: 80 leveldb::WriteBatch batch; 87 The `WriteBatch` holds a sequence of edits to be made to the database, and these 92 Apart from its atomicity benefits, `WriteBatch` may also be used to speed up 126 `WriteBatch` provides an alternative to asynchronous writes. Multiple updates 127 may be placed in the same WriteBatch and applied together using a synchronous 139 However other objects (like Iterator and `WriteBatch`) may require external
|
| /leveldb-1.20/table/ |
| H A D | table_test.cc | 367 WriteBatch batch; in FinishImpl() 766 WriteBatch batch; in TEST()
|