#include <parallel.h>

Public Member Functions | |
| virtual bool | more () |
| virtual BSONObj | next () |
| ParallelSortClusteredCursor (const set< ServerAndQuery > &servers, const string &ns, const Query &q, int options=0, const BSONObj &fields=BSONObj()) | |
| ParallelSortClusteredCursor (const set< ServerAndQuery > &servers, QueryMessage &q, const BSONObj &sortKey) | |
| virtual string | type () const |
| virtual | ~ParallelSortClusteredCursor () |
Protected Member Functions | |
| virtual void | _explain (map< string, list< BSONObj > > &out) |
| void | _finishCons () |
| void | _init () |
Protected Attributes | |
| FilteringClientCursor * | _cursors |
| int | _needToSkip |
| int | _numServers |
| set< ServerAndQuery > | _servers |
| BSONObj | _sortKey |
runs a query in parellel across N servers sots
Definition at line 216 of file parallel.h.
| mongo::ParallelSortClusteredCursor::ParallelSortClusteredCursor | ( | const set< ServerAndQuery > & | servers, | |
| QueryMessage & | q, | |||
| const BSONObj & | sortKey | |||
| ) |
| mongo::ParallelSortClusteredCursor::ParallelSortClusteredCursor | ( | const set< ServerAndQuery > & | servers, | |
| const string & | ns, | |||
| const Query & | q, | |||
| int | options = 0, |
|||
| const BSONObj & | fields = BSONObj() | |||
| ) |
| virtual mongo::ParallelSortClusteredCursor::~ParallelSortClusteredCursor | ( | ) | [virtual] |
| virtual void mongo::ParallelSortClusteredCursor::_explain | ( | map< string, list< BSONObj > > & | out | ) | [protected, virtual] |
Implements mongo::ClusteredCursor.
| void mongo::ParallelSortClusteredCursor::_finishCons | ( | ) | [protected] |
| void mongo::ParallelSortClusteredCursor::_init | ( | ) | [protected, virtual] |
Implements mongo::ClusteredCursor.
| virtual bool mongo::ParallelSortClusteredCursor::more | ( | ) | [virtual] |
Implements mongo::ClusteredCursor.
| virtual BSONObj mongo::ParallelSortClusteredCursor::next | ( | ) | [virtual] |
Implements mongo::ClusteredCursor.
| virtual string mongo::ParallelSortClusteredCursor::type | ( | ) | const [inline, virtual] |
Implements mongo::ClusteredCursor.
Definition at line 224 of file parallel.h.
Definition at line 235 of file parallel.h.
int mongo::ParallelSortClusteredCursor::_needToSkip [protected] |
Definition at line 236 of file parallel.h.
int mongo::ParallelSortClusteredCursor::_numServers [protected] |
Definition at line 231 of file parallel.h.
set<ServerAndQuery> mongo::ParallelSortClusteredCursor::_servers [protected] |
Definition at line 232 of file parallel.h.
BSONObj mongo::ParallelSortClusteredCursor::_sortKey [protected] |
Definition at line 233 of file parallel.h.