summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/s2_access_method.h
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2013-04-22 13:55:24 -0400
committerHari Khalsa <hkhalsa@10gen.com>2013-04-23 12:13:27 -0400
commit9ce6634e0ffc6757b4f511a11fd46b863d9dc136 (patch)
tree8d76ef93b82449fa4986713bb2ab6ab83f482881 /src/mongo/db/index/s2_access_method.h
parentf4ef62572f1bb2b378d940f50cf22c1be2e7c5b3 (diff)
downloadmongo-9ce6634e0ffc6757b4f511a11fd46b863d9dc136.tar.gz
SERVER-9212 SERVER-8791 delete the old cursors, migrate geoNear command
Diffstat (limited to 'src/mongo/db/index/s2_access_method.h')
-rw-r--r--src/mongo/db/index/s2_access_method.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/index/s2_access_method.h b/src/mongo/db/index/s2_access_method.h
index ff4c7a13809..7206ec35e2f 100644
--- a/src/mongo/db/index/s2_access_method.h
+++ b/src/mongo/db/index/s2_access_method.h
@@ -37,6 +37,9 @@ namespace mongo {
virtual Status newCursor(IndexCursor** out);
private:
+ friend class Geo2dFindNearCmd;
+ const S2IndexingParams& getParams() const { return _params; }
+
virtual void getKeys(const BSONObj& obj, BSONObjSet* keys);
// getKeys calls the helper methods below.