mongo::BSONObjExternalSorter Class Reference
#include <extsort.h>
List of all members.
Detailed Description
for sorting by BSONObj and attaching a value
Definition at line 32 of file extsort.h.
Member Typedef Documentation
Constructor & Destructor Documentation
| mongo::BSONObjExternalSorter::BSONObjExternalSorter |
( |
const BSONObj & |
order = BSONObj(), |
|
|
long |
maxFileSize = 1024 *1024 *100 | |
|
) |
| | |
| mongo::BSONObjExternalSorter::~BSONObjExternalSorter |
( |
|
) |
|
Member Function Documentation
| void mongo::BSONObjExternalSorter::_sortInMem |
( |
|
) |
[private] |
| void mongo::BSONObjExternalSorter::add |
( |
const BSONObj & |
o, |
|
|
int |
a, |
|
|
int |
b | |
|
) |
| | [inline] |
| void mongo::BSONObjExternalSorter::add |
( |
const BSONObj & |
o, |
|
|
const DiskLoc & |
loc | |
|
) |
| | |
| static int mongo::BSONObjExternalSorter::extSortComp |
( |
const void * |
lv, |
|
|
const void * |
rv | |
|
) |
| | [inline, static, private] |
| void mongo::BSONObjExternalSorter::finishMap |
( |
|
) |
[private] |
| long mongo::BSONObjExternalSorter::getCurSizeSoFar |
( |
|
) |
[inline] |
| void mongo::BSONObjExternalSorter::hintNumObjects |
( |
long long |
numObjects |
) |
[inline] |
| auto_ptr<Iterator> mongo::BSONObjExternalSorter::iterator |
( |
|
) |
[inline] |
| int mongo::BSONObjExternalSorter::numFiles |
( |
|
) |
[inline] |
| void mongo::BSONObjExternalSorter::sort |
( |
string |
file |
) |
[private] |
| void mongo::BSONObjExternalSorter::sort |
( |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: