summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/and_hash.h
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2013-07-23 19:07:48 -0400
committerHari Khalsa <hkhalsa@10gen.com>2013-07-25 14:27:04 -0400
commitf69cfc007eed38592c879ebf9345ec70f9587aa0 (patch)
treebc2a7c39ce42ebbbaace19e644774b9253c9f774 /src/mongo/db/exec/and_hash.h
parent50dc157e0d617b3aa9014bf47b9531e6e510912b (diff)
downloadmongo-f69cfc007eed38592c879ebf9345ec70f9587aa0.tar.gz
SERVER-10026 stage stats, multi plan runner, relevant scaffolding
Diffstat (limited to 'src/mongo/db/exec/and_hash.h')
-rw-r--r--src/mongo/db/exec/and_hash.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/exec/and_hash.h b/src/mongo/db/exec/and_hash.h
index 1cef926a824..2960ae7f850 100644
--- a/src/mongo/db/exec/and_hash.h
+++ b/src/mongo/db/exec/and_hash.h
@@ -52,6 +52,8 @@ namespace mongo {
virtual void recoverFromYield();
virtual void invalidate(const DiskLoc& dl);
+ virtual PlanStageStats* getStats();
+
private:
StageState readFirstChild();
StageState hashOtherChildren();
@@ -79,6 +81,10 @@ namespace mongo {
// Which child are we currently working on?
size_t _currentChild;
+
+ // Stats
+ CommonStats _commonStats;
+ AndHashStats _specificStats;
};
} // namespace mongo