Bitcoin
Public Member Functions | Private Member Functions | Private Attributes | List of all members
leveldb::TableConstructor Class Reference
Inheritance diagram for leveldb::TableConstructor:
leveldb::Constructor

Public Member Functions

 TableConstructor (const Comparator *cmp)
 
 ~TableConstructor ()
 
virtual Status FinishImpl (const Options &options, const KVMap &data)
 
virtual IteratorNewIterator () const
 
uint64_t ApproximateOffsetOf (const Slice &key) const
 
- Public Member Functions inherited from leveldb::Constructor
 Constructor (const Comparator *cmp)
 
virtual ~Constructor ()
 
void Add (const std::string &key, const Slice &value)
 
void Finish (const Options &options, std::vector< std::string > *keys, KVMap *kvmap)
 
virtual const KVMapdata ()
 
virtual DBdb () const
 

Private Member Functions

void Reset ()
 
 TableConstructor ()
 

Private Attributes

StringSourcesource_
 
Tabletable_
 

Constructor & Destructor Documentation

◆ TableConstructor() [1/2]

leveldb::TableConstructor::TableConstructor ( const Comparator cmp)
inline

◆ ~TableConstructor()

leveldb::TableConstructor::~TableConstructor ( )
inline

◆ TableConstructor() [2/2]

leveldb::TableConstructor::TableConstructor ( )
private

Member Function Documentation

◆ ApproximateOffsetOf()

uint64_t leveldb::TableConstructor::ApproximateOffsetOf ( const Slice key) const
inline

◆ FinishImpl()

virtual Status leveldb::TableConstructor::FinishImpl ( const Options options,
const KVMap data 
)
inlinevirtual

Implements leveldb::Constructor.

◆ NewIterator()

virtual Iterator* leveldb::TableConstructor::NewIterator ( ) const
inlinevirtual

Implements leveldb::Constructor.

◆ Reset()

void leveldb::TableConstructor::Reset ( )
inlineprivate

Member Data Documentation

◆ source_

StringSource* leveldb::TableConstructor::source_
private

◆ table_

Table* leveldb::TableConstructor::table_
private

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