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

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

leveldb::Version Class Reference

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

List of all members.

Classes

struct  GetStats
class  LevelFileNumIterator

Public Member Functions

void AddIterators (const ReadOptions &, std::vector< Iterator * > *iters)
std::string DebugString () const
Status Get (const ReadOptions &, const LookupKey &key, std::string *val, GetStats *stats)
int NumFiles (int level) const
bool OverlapInLevel (int level, const Slice &smallest_user_key, const Slice &largest_user_key)
void Ref ()
void Unref ()
bool UpdateStats (const GetStats &stats)

Private Member Functions

IteratorNewConcatenatingIterator (const ReadOptions &, int level) const
void operator= (const Version &)
 Version (const Version &)
 Version (VersionSet *vset)

Private Attributes

int compaction_level_
double compaction_score_
FileMetaDatafile_to_compact_
int file_to_compact_level_
std::vector< FileMetaData * > files_ [config::kNumLevels]
Versionnext_
Versionprev_
int refs_
VersionSetvset_

Friends

class Compaction
class VersionSet

Detailed Description

Definition at line 53 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