summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/text_match.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2015-07-08 12:40:15 -0400
committerMathias Stearn <mathias@10gen.com>2015-07-16 14:37:02 -0400
commitc832bc753c29f91597b75fa02c0d9019c3c20b0f (patch)
tree5324f665212988a354ff6ba254b239dc594d2c7d /src/mongo/db/exec/text_match.h
parentf64b6c596f9dcd1bae7011a3230b517386baa255 (diff)
downloadmongo-c832bc753c29f91597b75fa02c0d9019c3c20b0f.tar.gz
SERVER-17364 Unify handling of child stages into PlanStage base class
This is prep for adding more methods that need to propagate to children.
Diffstat (limited to 'src/mongo/db/exec/text_match.h')
-rw-r--r--src/mongo/db/exec/text_match.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mongo/db/exec/text_match.h b/src/mongo/db/exec/text_match.h
index bc1cf6b528f..cacec80c4e6 100644
--- a/src/mongo/db/exec/text_match.h
+++ b/src/mongo/db/exec/text_match.h
@@ -69,20 +69,12 @@ public:
StageState work(WorkingSetID* out) final;
- void saveState() final;
- void restoreState(OperationContext* opCtx) final;
- void invalidate(OperationContext* txn, const RecordId& dl, InvalidationType type) final;
-
- std::vector<PlanStage*> getChildren() const final;
-
StageType stageType() const final {
return STAGE_TEXT_MATCH;
}
std::unique_ptr<PlanStageStats> getStats() final;
- const CommonStats* getCommonStats() const final;
-
const SpecificStats* getSpecificStats() const final;
static const char* kStageType;
@@ -94,11 +86,6 @@ private:
// Not owned by us.
WorkingSet* _ws;
- // The child PlanStage that provides the RecordIDs and scores for text matching.
- unique_ptr<PlanStage> _child;
-
- // Stats
- CommonStats _commonStats;
TextMatchStats _specificStats;
};
} // namespace mongo