|
leveldb
|
#include <version_set.h>

Public Member Functions | |
| ~Compaction () | |
| int | level () const |
| VersionEdit * | edit () |
| int | num_input_files (int which) const |
| FileMetaData * | input (int which, int i) const |
| uint64_t | MaxOutputFileSize () const |
| bool | IsTrivialMove () const |
| void | AddInputDeletions (VersionEdit *edit) |
| bool | IsBaseLevelForKey (const Slice &user_key) |
| bool | ShouldStopBefore (const Slice &internal_key) |
| void | ReleaseInputs () |
Private Member Functions | |
| Compaction (const Options *options, int level) | |
Private Attributes | |
| int | level_ |
| uint64_t | max_output_file_size_ |
| Version * | input_version_ |
| VersionEdit | edit_ |
| std::vector< FileMetaData * > | inputs_ [2] |
| std::vector< FileMetaData * > | grandparents_ |
| size_t | grandparent_index_ |
| bool | seen_key_ |
| int64_t | overlapped_bytes_ |
| size_t | level_ptrs_ [config::kNumLevels] |
Friends | |
| class | Version |
| class | VersionSet |
Definition at line 324 of file version_set.h.
| leveldb::Compaction::~Compaction | ( | ) |
|
private |
Definition at line 1448 of file version_set.cc.
| void leveldb::Compaction::AddInputDeletions | ( | VersionEdit * | edit | ) |
Definition at line 1476 of file version_set.cc.


|
inline |
|
inline |
| bool leveldb::Compaction::IsBaseLevelForKey | ( | const Slice & | user_key | ) |
Definition at line 1484 of file version_set.cc.


| bool leveldb::Compaction::IsTrivialMove | ( | ) | const |
Definition at line 1466 of file version_set.cc.


|
inline |
|
inline |
Definition at line 343 of file version_set.h.

|
inline |
| void leveldb::Compaction::ReleaseInputs | ( | ) |
Definition at line 1528 of file version_set.cc.


| bool leveldb::Compaction::ShouldStopBefore | ( | const Slice & | internal_key | ) |
Definition at line 1505 of file version_set.cc.


|
friend |
Definition at line 366 of file version_set.h.
|
friend |
Definition at line 367 of file version_set.h.
|
private |
Definition at line 374 of file version_set.h.
|
private |
Definition at line 382 of file version_set.h.
|
private |
Definition at line 381 of file version_set.h.
|
private |
Definition at line 373 of file version_set.h.
|
private |
Definition at line 377 of file version_set.h.
|
private |
Definition at line 371 of file version_set.h.
|
private |
Definition at line 393 of file version_set.h.
|
private |
Definition at line 372 of file version_set.h.
|
private |
Definition at line 384 of file version_set.h.
|
private |
Definition at line 383 of file version_set.h.
1.8.12