#include <write_batch_internal.h>
Definition at line 17 of file write_batch_internal.h.
§ Append()
Definition at line 141 of file write_batch.cc.
143 assert(src->rep_.size() >=
kHeader);
144 dst->rep_.append(src->rep_.data() +
kHeader, src->rep_.size() -
kHeader);
static void SetCount(WriteBatch *batch, int n)
static int Count(const WriteBatch *batch)
static const size_t kHeader
§ ByteSize()
| static size_t leveldb::WriteBatchInternal::ByteSize |
( |
const WriteBatch * |
batch | ) |
|
|
inlinestatic |
§ Contents()
| static Slice leveldb::WriteBatchInternal::Contents |
( |
const WriteBatch * |
batch | ) |
|
|
inlinestatic |
§ Count()
| int leveldb::WriteBatchInternal::Count |
( |
const WriteBatch * |
batch | ) |
|
|
static |
Definition at line 82 of file write_batch.cc.
uint32_t DecodeFixed32(const char *ptr)
§ InsertInto()
Definition at line 128 of file write_batch.cc.
130 MemTableInserter inserter;
132 inserter.mem_ = memtable;
133 return b->Iterate(&inserter);
static SequenceNumber Sequence(const WriteBatch *batch)
§ Sequence()
Definition at line 90 of file write_batch.cc.
uint64_t DecodeFixed64(const char *ptr)
§ SetContents()
| void leveldb::WriteBatchInternal::SetContents |
( |
WriteBatch * |
batch, |
|
|
const Slice & |
contents |
|
) |
| |
|
static |
Definition at line 136 of file write_batch.cc.
137 assert(contents.size() >=
kHeader);
138 b->rep_.assign(contents.data(), contents.size());
static const size_t kHeader
§ SetCount()
| void leveldb::WriteBatchInternal::SetCount |
( |
WriteBatch * |
batch, |
|
|
int |
n |
|
) |
| |
|
static |
Definition at line 86 of file write_batch.cc.
void EncodeFixed32(char *buf, uint32_t value)
§ SetSequence()
Definition at line 94 of file write_batch.cc.
void EncodeFixed64(char *buf, uint64_t value)
The documentation for this class was generated from the following files: