Storage Engine API
mongo::DevNullSortedDataBuilderInterface Class Reference
Inheritance diagram for mongo::DevNullSortedDataBuilderInterface:
mongo::SortedDataBuilderInterface

Public Member Functions

 DevNullSortedDataBuilderInterface ()
 
virtual Status addKey (const BSONObj &key, const RecordId &loc)
 Adds 'key' to intermediate storage. More...
 
- Public Member Functions inherited from mongo::SortedDataBuilderInterface
virtual ~SortedDataBuilderInterface ()
 
virtual void commit (bool mayInterrupt)
 Do any necessary work to finish building the tree. More...
 

Private Member Functions

 MONGO_DISALLOW_COPYING (DevNullSortedDataBuilderInterface)
 

Constructor & Destructor Documentation

◆ DevNullSortedDataBuilderInterface()

mongo::DevNullSortedDataBuilderInterface::DevNullSortedDataBuilderInterface ( )
inline

Member Function Documentation

◆ addKey()

virtual Status mongo::DevNullSortedDataBuilderInterface::addKey ( const BSONObj &  key,
const RecordId &  loc 
)
inlinevirtual

Adds 'key' to intermediate storage.

'key' must be > or >= the last key passed to this function (depends on _dupsAllowed). If this is violated an error Status (ErrorCodes::InternalError) will be returned.

Implements mongo::SortedDataBuilderInterface.

◆ MONGO_DISALLOW_COPYING()

mongo::DevNullSortedDataBuilderInterface::MONGO_DISALLOW_COPYING ( DevNullSortedDataBuilderInterface  )
private

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