Home
last modified time | relevance | path

Searched refs:WriteBatch (Results 1 – 19 of 19) sorted by relevance

/leveldb-1.20/db/
H A Dwrite_batch_internal.h20 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 Dwrite_batch.cc29 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 Dwrite_batch_test.cc15 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 Ddb_impl.h34 virtual Status Write(const WriteOptions& options, WriteBatch* updates);
103 WriteBatch* BuildBatchGroup(Writer** last_writer);
150 WriteBatch* tmp_batch_;
H A Ddumpfile.cc71 class WriteBatchItemPrinter : public WriteBatch::Handler {
104 WriteBatch batch; in WriteBatchPrinter()
H A Ddb_impl.cc43 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 Dc.cc41 using leveldb::WriteBatch;
48 struct leveldb_writebatch_t { WriteBatch rep; };
367 class H : public WriteBatch::Handler { in leveldb_writebatch_iterate()
H A Dcorruption_test.cc72 WriteBatch batch; in Build()
226 WriteBatch batch; in TEST()
H A Drecovery_test.cc145 WriteBatch batch; in MakeLogFile()
H A Ddb_bench.cc752 WriteBatch batch; in DoWrite()
863 WriteBatch batch; in DoDelete()
H A Drepair.cc199 WriteBatch batch; in ConvertLogToTable()
H A Dfault_injection_test.cc396 WriteBatch batch; in Build()
H A Ddb_test.cc1900 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 Dwrite_batch.h31 class WriteBatch {
33 WriteBatch();
34 ~WriteBatch();
H A Ddb.h22 class WriteBatch; variable
74 virtual Status Write(const WriteOptions& options, WriteBatch* updates) = 0;
/leveldb-1.20/
H A DNEWS16 Allow public access to WriteBatch contents so that users can easily
/leveldb-1.20/issues/
H A Dissue178_test.cc45 leveldb::WriteBatch batch; in TEST()
/leveldb-1.20/doc/
H A Dindex.md72 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 Dtable_test.cc367 WriteBatch batch; in FinishImpl()
766 WriteBatch batch; in TEST()