5 #ifndef STORAGE_LEVELDB_DB_VERSION_EDIT_H_ 6 #define STORAGE_LEVELDB_DB_VERSION_EDIT_H_ 68 f.file_size = file_size;
69 f.smallest = smallest;
79 void EncodeTo(std::string* dst)
const;
107 #endif // STORAGE_LEVELDB_DB_VERSION_EDIT_H_ Definition: version_set.h:165
Definition: autocompact_test.cc:11
void SetPrevLogNumber(uint64_t num)
Definition: version_edit.h:43
bool has_log_number_
Definition: version_edit.h:95
void SetLastSequence(SequenceNumber seq)
Definition: version_edit.h:51
void SetLogNumber(uint64_t num)
Definition: version_edit.h:39
DeletedFileSet deleted_files_
Definition: version_edit.h:101
void SetComparatorName(const Slice &name)
Definition: version_edit.h:35
void DeleteFile(int level, uint64_t file)
Definition: version_edit.h:75
std::string DebugString() const
Definition: version_edit.cc:212
void SetNextFile(uint64_t num)
Definition: version_edit.h:47
void SetCompactPointer(int level, const InternalKey &key)
Definition: version_edit.h:55
std::string comparator_
Definition: version_edit.h:89
std::set< std::pair< int, uint64_t > > DeletedFileSet
Definition: version_edit.h:87
uint64_t SequenceNumber
Definition: dbformat.h:63
bool has_last_sequence_
Definition: version_edit.h:98
f
Definition: linearize-data.py:263
const char * name
Definition: rest.cpp:39
uint64_t next_file_number_
Definition: version_edit.h:92
unsigned long long uint64_t
Definition: stdint.h:22
bool has_next_file_number_
Definition: version_edit.h:97
~VersionEdit()
Definition: version_edit.h:31
uint64_t prev_log_number_
Definition: version_edit.h:91
void EncodeTo(std::string *dst) const
Definition: version_edit.cc:41
bool has_prev_log_number_
Definition: version_edit.h:96
VersionEdit()
Definition: version_edit.h:30
file
Definition: linearize-hashes.py:138
SequenceNumber last_sequence_
Definition: version_edit.h:93
void Clear()
Definition: version_edit.cc:26
Status DecodeFrom(const Slice &src)
Definition: version_edit.cc:109
std::vector< std::pair< int, InternalKey > > compact_pointers_
Definition: version_edit.h:100
std::vector< std::pair< int, FileMetaData > > new_files_
Definition: version_edit.h:102
Definition: version_edit.h:28
void AddFile(int level, uint64_t file, uint64_t file_size, const InternalKey &smallest, const InternalKey &largest)
Definition: version_edit.h:62
Definition: dbformat.h:144
bool has_comparator_
Definition: version_edit.h:94
uint64_t log_number_
Definition: version_edit.h:90