5 #ifndef STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_ 6 #define STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_ 37 return batch->
rep_.size();
50 #endif // STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_
Definition: autocompact_test.cc:11
Definition: write_batch_internal.h:17
static size_t ByteSize(const WriteBatch *batch)
Definition: write_batch_internal.h:36
static void SetSequence(WriteBatch *batch, SequenceNumber seq)
Definition: write_batch.cc:94
static Status InsertInto(const WriteBatch *batch, MemTable *memtable)
Definition: write_batch.cc:128
uint64_t SequenceNumber
Definition: dbformat.h:63
Definition: write_batch.h:31
static void SetContents(WriteBatch *batch, const Slice &contents)
Definition: write_batch.cc:136
std::string rep_
Definition: write_batch.h:57
static void SetCount(WriteBatch *batch, int n)
Definition: write_batch.cc:86
static int Count(const WriteBatch *batch)
Definition: write_batch.cc:82
static Slice Contents(const WriteBatch *batch)
Definition: write_batch_internal.h:32
Definition: memtable.h:20
static void Append(WriteBatch *dst, const WriteBatch *src)
Definition: write_batch.cc:141
static SequenceNumber Sequence(const WriteBatch *batch)
Definition: write_batch.cc:90