diff options
Diffstat (limited to 'src/mongo/db/exec/sort.h')
-rw-r--r-- | src/mongo/db/exec/sort.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/mongo/db/exec/sort.h b/src/mongo/db/exec/sort.h index 289ab0772b0..39a32ba9c88 100644 --- a/src/mongo/db/exec/sort.h +++ b/src/mongo/db/exec/sort.h @@ -142,17 +142,12 @@ private: class SortStage : public PlanStage { public: SortStage(const SortStageParams& params, WorkingSet* ws, PlanStage* child); - virtual ~SortStage(); virtual bool isEOF(); virtual StageState work(WorkingSetID* out); - virtual void saveState(); - virtual void restoreState(OperationContext* opCtx); - virtual void invalidate(OperationContext* txn, const RecordId& dl, InvalidationType type); - - virtual std::vector<PlanStage*> getChildren() const; + virtual void doInvalidate(OperationContext* txn, const RecordId& dl, InvalidationType type); virtual StageType stageType() const { return STAGE_SORT; @@ -160,8 +155,6 @@ public: std::unique_ptr<PlanStageStats> getStats(); - virtual const CommonStats* getCommonStats() const; - virtual const SpecificStats* getSpecificStats() const; static const char* kStageType; @@ -177,9 +170,6 @@ private: // Not owned by us. WorkingSet* _ws; - // Where we're reading data to sort from. - std::unique_ptr<PlanStage> _child; - // The raw sort _pattern as expressed by the user BSONObj _pattern; @@ -260,11 +250,6 @@ private: typedef unordered_map<RecordId, WorkingSetID, RecordId::Hasher> DataMap; DataMap _wsidByDiskLoc; - // - // Stats - // - - CommonStats _commonStats; SortStats _specificStats; // The usage in bytes of all buffered data that we're sorting. |