5 #ifndef STORAGE_LEVELDB_DB_VERSION_EDIT_H_
6 #define STORAGE_LEVELDB_DB_VERSION_EDIT_H_
71 new_files_.push_back(std::make_pair(level, f));
79 void EncodeTo(std::string* dst)
const;
107 #endif // STORAGE_LEVELDB_DB_VERSION_EDIT_H_
void SetCompactPointer(int level, const InternalKey &key)
void SetPrevLogNumber(uint64_t num)
void SetLogNumber(uint64_t num)
uint64_t prev_log_number_
std::vector< std::pair< int, InternalKey > > compact_pointers_
void AddFile(int level, uint64_t file, uint64_t file_size, const InternalKey &smallest, const InternalKey &largest)
DeletedFileSet deleted_files_
SequenceNumber last_sequence_
std::vector< std::pair< int, FileMetaData > > new_files_
void SetComparatorName(const Slice &name)
bool has_next_file_number_
unsigned long long uint64_t
std::set< std::pair< int, uint64_t > > DeletedFileSet
void SetLastSequence(SequenceNumber seq)
bool has_prev_log_number_
Status DecodeFrom(const Slice &src)
void DeleteFile(int level, uint64_t file)
void EncodeTo(std::string *dst) const
void SetNextFile(uint64_t num)
uint64_t next_file_number_
std::string DebugString() const
std::string ToString() const