summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/cluster_cursor_manager.h
diff options
context:
space:
mode:
authorTed Tuckman <ted.tuckman@mongodb.com>2018-09-17 11:25:15 -0400
committerTed Tuckman <ted.tuckman@mongodb.com>2018-09-28 11:46:03 -0400
commita73b2fc77d72a06380826259620f105e179a4c5c (patch)
tree9d6b43cc70897531a148270098274da49c67e5ea /src/mongo/s/query/cluster_cursor_manager.h
parentd8e10f2dcc4554c74cf1da9d40557233cad70fb1 (diff)
downloadmongo-a73b2fc77d72a06380826259620f105e179a4c5c.tar.gz
SERVER-37003 Add activeCursor field to curOp for getMore
Diffstat (limited to 'src/mongo/s/query/cluster_cursor_manager.h')
-rw-r--r--src/mongo/s/query/cluster_cursor_manager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/s/query/cluster_cursor_manager.h b/src/mongo/s/query/cluster_cursor_manager.h
index 37c7d7478b2..6c1b0d10c92 100644
--- a/src/mongo/s/query/cluster_cursor_manager.h
+++ b/src/mongo/s/query/cluster_cursor_manager.h
@@ -213,6 +213,11 @@ public:
long long getNumReturnedSoFar() const;
/**
+ * Returns a GenericCursor version of the pinned cursor.
+ */
+ GenericCursor toGenericCursor() const;
+
+ /**
* Stashes 'obj' to be returned later by this cursor. A cursor must be owned.
*/
void queueResult(const ClusterQueryResult& result);