mongo::ParallelSortClusteredCursor Class Reference

#include <parallel.h>

Inheritance diagram for mongo::ParallelSortClusteredCursor:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

runs a query in parellel across N servers sots

Definition at line 216 of file parallel.h.


Constructor & Destructor Documentation

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]

Member Function Documentation

virtual void mongo::ParallelSortClusteredCursor::_explain ( map< string, list< BSONObj > > &  out  )  [protected, virtual]
void mongo::ParallelSortClusteredCursor::_finishCons (  )  [protected]
void mongo::ParallelSortClusteredCursor::_init (  )  [protected, virtual]
virtual bool mongo::ParallelSortClusteredCursor::more (  )  [virtual]
virtual BSONObj mongo::ParallelSortClusteredCursor::next (  )  [virtual]
virtual string mongo::ParallelSortClusteredCursor::type (  )  const [inline, virtual]

Implements mongo::ClusteredCursor.

Definition at line 224 of file parallel.h.


Member Data Documentation

Definition at line 235 of file parallel.h.

Definition at line 236 of file parallel.h.

Definition at line 231 of file parallel.h.

Definition at line 232 of file parallel.h.

Definition at line 233 of file parallel.h.


The documentation for this class 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:57 2013