diff options
author | Mathias Stearn <mathias@10gen.com> | 2015-05-18 18:01:38 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2015-06-09 16:33:22 -0400 |
commit | 3b731debe162706cbbfabd9578bbb57ab5a7a7d8 (patch) | |
tree | 7b26f5541e5de0060bf75f5563b37cae5a246ee8 /src/mongo/db/exec/idhack.h | |
parent | f50d1d0b7df924926855badd3cd700653f75f0f8 (diff) | |
download | mongo-3b731debe162706cbbfabd9578bbb57ab5a7a7d8.tar.gz |
SERVER-16444 New API for navigating RecordStores
Diffstat (limited to 'src/mongo/db/exec/idhack.h')
-rw-r--r-- | src/mongo/db/exec/idhack.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/exec/idhack.h b/src/mongo/db/exec/idhack.h index d1f1020342d..5430addd12b 100644 --- a/src/mongo/db/exec/idhack.h +++ b/src/mongo/db/exec/idhack.h @@ -28,6 +28,8 @@ #pragma once +#include <memory> + #include "mongo/db/catalog/collection.h" #include "mongo/db/exec/plan_stage.h" #include "mongo/db/query/canonical_query.h" @@ -35,6 +37,8 @@ namespace mongo { + class RecordCursor; + /** * A standalone stage implementing the fast path for key-value retrievals * via the _id index. @@ -88,6 +92,8 @@ namespace mongo { // Not owned here. const Collection* _collection; + std::unique_ptr<RecordCursor> _recordCursor; + // The WorkingSet we annotate with results. Not owned by us. WorkingSet* _workingSet; |