#include <version_set.h>
|
void | AddIterators (const ReadOptions &, std::vector< Iterator * > *iters) |
|
Status | Get (const ReadOptions &, const LookupKey &key, std::string *val, GetStats *stats) |
|
bool | UpdateStats (const GetStats &stats) |
|
bool | RecordReadSample (Slice key) |
|
void | Ref () |
|
void | Unref () |
|
void | GetOverlappingInputs (int level, const InternalKey *begin, const InternalKey *end, std::vector< FileMetaData * > *inputs) |
|
bool | OverlapInLevel (int level, const Slice *smallest_user_key, const Slice *largest_user_key) |
|
int | PickLevelForMemTableOutput (const Slice &smallest_user_key, const Slice &largest_user_key) |
|
int | NumFiles (int level) const |
|
std::string | DebugString () const |
|
◆ Version() [1/2]
◆ ~Version()
leveldb::Version::~Version |
( |
| ) |
|
|
private |
◆ Version() [2/2]
leveldb::Version::Version |
( |
const Version & |
| ) |
|
|
private |
◆ AddIterators()
void leveldb::Version::AddIterators |
( |
const ReadOptions & |
options, |
|
|
std::vector< Iterator * > * |
iters |
|
) |
| |
◆ DebugString()
std::string leveldb::Version::DebugString |
( |
| ) |
const |
◆ ForEachOverlapping()
void leveldb::Version::ForEachOverlapping |
( |
Slice |
user_key, |
|
|
Slice |
internal_key, |
|
|
void * |
arg, |
|
|
bool(*)(void *, int, FileMetaData *) |
func |
|
) |
| |
|
private |
◆ Get()
◆ GetOverlappingInputs()
◆ NewConcatenatingIterator()
Iterator * leveldb::Version::NewConcatenatingIterator |
( |
const ReadOptions & |
options, |
|
|
int |
level |
|
) |
| const |
|
private |
◆ NumFiles()
int leveldb::Version::NumFiles |
( |
int |
level | ) |
const |
|
inline |
◆ operator=()
void leveldb::Version::operator= |
( |
const Version & |
| ) |
|
|
private |
◆ OverlapInLevel()
bool leveldb::Version::OverlapInLevel |
( |
int |
level, |
|
|
const Slice * |
smallest_user_key, |
|
|
const Slice * |
largest_user_key |
|
) |
| |
◆ PickLevelForMemTableOutput()
int leveldb::Version::PickLevelForMemTableOutput |
( |
const Slice & |
smallest_user_key, |
|
|
const Slice & |
largest_user_key |
|
) |
| |
◆ RecordReadSample()
bool leveldb::Version::RecordReadSample |
( |
Slice |
key | ) |
|
◆ Ref()
void leveldb::Version::Ref |
( |
| ) |
|
◆ Unref()
void leveldb::Version::Unref |
( |
| ) |
|
◆ UpdateStats()
bool leveldb::Version::UpdateStats |
( |
const GetStats & |
stats | ) |
|
◆ Compaction
◆ VersionSet
◆ compaction_level_
int leveldb::Version::compaction_level_ |
|
private |
◆ compaction_score_
double leveldb::Version::compaction_score_ |
|
private |
◆ file_to_compact_
◆ file_to_compact_level_
int leveldb::Version::file_to_compact_level_ |
|
private |
◆ files_
◆ next_
◆ prev_
◆ refs_
int leveldb::Version::refs_ |
|
private |
◆ vset_
The documentation for this class was generated from the following files: