diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-05-26 13:26:16 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-05-26 13:26:16 -0400 |
commit | b200d9e3cb2d427b34c3586c04f2ec329a6b53ff (patch) | |
tree | 7123f64d47abd4eca91b6211fab43af238ce8641 /client/parallel.h | |
parent | 5f20fb048ded61f0360e047aa5234009404dcfc3 (diff) | |
download | mongo-b200d9e3cb2d427b34c3586c04f2ec329a6b53ff.tar.gz |
checkpoint for explain sharded SERVER-953
Diffstat (limited to 'client/parallel.h')
-rw-r--r-- | client/parallel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/parallel.h b/client/parallel.h index dbeb9de7323..a897de473df 100644 --- a/client/parallel.h +++ b/client/parallel.h @@ -45,6 +45,8 @@ namespace mongo { virtual string type() const = 0; + virtual BSONObj explain(); + protected: auto_ptr<DBClientCursor> query( const string& server , int num = 0 , BSONObj extraFilter = BSONObj() ); @@ -181,6 +183,7 @@ namespace mongo { virtual bool more(); virtual BSONObj next(); virtual string type() const { return "SerialServer"; } + private: vector<ServerAndQuery> _servers; unsigned _serverIndex; |