#include "../pch.h"
#include "../util/mmap.h"
#include "diskloc.h"
#include "jsobjmanipulator.h"
#include "namespace-inl.h"
#include "client.h"
#include "mongommf.h"
#include "cursor.h"
#include "database.h"
Go to the source code of this file.
Classes | |
class | mongo::DataFileHeader |
class | mongo::DataFileMgr |
class | mongo::DeletedRecord |
class | mongo::Extent |
struct | mongo::Extent::FL |
class | mongo::MongoDataFile |
struct | mongo::Record::NP |
class | mongo::Record |
Namespaces | |
namespace | mongo |
Functions | |
mongo::BOOST_STATIC_ASSERT (16==sizeof(DeletedRecord)) | |
boost::intmax_t | mongo::dbSize (const char *database) |
void | mongo::dropCollection (const string &name, string &errmsg, BSONObjBuilder &result) |
void | mongo::dropDatabase (string db) |
bool | mongo::dropIndexes (NamespaceDetails *d, const char *ns, const char *name, string &errmsg, BSONObjBuilder &anObjBuilder, bool maydeleteIdIndex) |
void | mongo::dropNS (const string &dropNs) |
void | mongo::ensureHaveIdIndex (const char *ns) |
shared_ptr< Cursor > | mongo::findTableScan (const char *ns, const BSONObj &order, const DiskLoc &startLoc=DiskLoc()) |
boost::intmax_t | mongo::freeSpace (const string &path=dbpath) |
bool | mongo::isANormalNSName (const char *ns) |
bool | mongo::isValidNS (const StringData &ns) |
NamespaceDetails * | mongo::nsdetails (const char *ns) |
NamespaceIndex * | mongo::nsindex (const char *ns) |
bool | mongo::repairDatabase (string db, string &errmsg, bool preserveClonedFilesOnFailure=false, bool backupOriginalFiles=false) |
bool | mongo::userCreateNS (const char *ns, BSONObj j, string &err, bool logForReplication, bool *deferIdIndex=0) |
Variables | |
DataFileMgr | mongo::theDataFileMgr |