Logo Search packages:      
Sourcecode: leveldb version File versions  Download package

Public Member Functions | Private Member Functions | Private Attributes | Friends

leveldb::Compaction Class Reference

Collaboration diagram for leveldb::Compaction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void AddInputDeletions (VersionEdit *edit)
VersionEditedit ()
FileMetaDatainput (int which, int i) const
bool IsBaseLevelForKey (const Slice &user_key)
bool IsTrivialMove () const
int level () const
uint64_t MaxOutputFileSize () const
int num_input_files (int which) const
void ReleaseInputs ()
bool ShouldStopBefore (const Slice &internal_key)

Private Member Functions

 Compaction (int level)

Private Attributes

VersionEdit edit_
size_t grandparent_index_
std::vector< FileMetaData * > grandparents_
Versioninput_version_
std::vector< FileMetaData * > inputs_ [2]
int level_
size_t level_ptrs_ [config::kNumLevels]
uint64_t max_output_file_size_
int64_t overlapped_bytes_
bool seen_key_

Friends

class Version
class VersionSet

Detailed Description

Definition at line 284 of file version_set.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index