mongo::DBConfig::CollectionInfo Struct Reference

List of all members.

Public Member Functions

 CollectionInfo (const BSONObj &in)
 CollectionInfo ()
ChunkManagerPtr getCM () const
bool isDirty () const
bool isSharded () const
void save (const string &ns, DBClientBase *conn)
void shard (const string &ns, const ShardKeyPattern &key, bool unique)
void unshard ()
bool wasDropped () const

Private Attributes

ChunkManagerPtr _cm
bool _dirty
bool _dropped

Detailed Description

Definition at line 65 of file config.h.


Constructor & Destructor Documentation

mongo::DBConfig::CollectionInfo::CollectionInfo (  )  [inline]

Definition at line 66 of file config.h.

mongo::DBConfig::CollectionInfo::CollectionInfo ( const BSONObj in  ) 

Member Function Documentation

ChunkManagerPtr mongo::DBConfig::CollectionInfo::getCM (  )  const [inline]

Definition at line 77 of file config.h.

bool mongo::DBConfig::CollectionInfo::isDirty (  )  const [inline]

Definition at line 84 of file config.h.

bool mongo::DBConfig::CollectionInfo::isSharded (  )  const [inline]

Definition at line 73 of file config.h.

void mongo::DBConfig::CollectionInfo::save ( const string &  ns,
DBClientBase conn 
)
void mongo::DBConfig::CollectionInfo::shard ( const string &  ns,
const ShardKeyPattern key,
bool  unique 
)
void mongo::DBConfig::CollectionInfo::unshard (  ) 
bool mongo::DBConfig::CollectionInfo::wasDropped (  )  const [inline]

Definition at line 85 of file config.h.


Member Data Documentation

Definition at line 91 of file config.h.

Definition at line 92 of file config.h.

Definition at line 93 of file config.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:55 2013