5 #ifndef STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_
6 #define STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_
36 return batch->
rep_.size();
49 #endif // STORAGE_LEVELDB_DB_WRITE_BATCH_INTERNAL_H_
static void SetContents(WriteBatch *batch, const Slice &contents)
static void SetSequence(WriteBatch *batch, SequenceNumber seq)
static Slice Contents(const WriteBatch *batch)
static void Append(WriteBatch *dst, const WriteBatch *src)
static Status InsertInto(const WriteBatch *batch, MemTable *memtable)
static SequenceNumber Sequence(const WriteBatch *batch)
static int Count(const WriteBatch *batch)
static size_t ByteSize(const WriteBatch *batch)
static void SetCount(WriteBatch *batch, int n)