diff options
author | David Storch <david.storch@10gen.com> | 2015-02-25 15:24:34 -0500 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2015-02-25 15:47:11 -0500 |
commit | 77dae5d4457c85e64fa92ebd19daa1ee8027dad6 (patch) | |
tree | d6cb5548afd798e2991a3cf47151652ae725ef73 /src/mongo/db/exec/near.h | |
parent | 3c8a4340080524facb1666c632ec1655d53d59cc (diff) | |
download | mongo-77dae5d4457c85e64fa92ebd19daa1ee8027dad6.tar.gz |
SERVER-17280 geo near must propagate saveState()/restoreState() to the DensityEstimator
Diffstat (limited to 'src/mongo/db/exec/near.h')
-rw-r--r-- | src/mongo/db/exec/near.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/mongo/db/exec/near.h b/src/mongo/db/exec/near.h index 60384679c00..d7d27a78331 100644 --- a/src/mongo/db/exec/near.h +++ b/src/mongo/db/exec/near.h @@ -147,15 +147,20 @@ namespace mongo { Collection* collection, WorkingSetID* out) = 0; - /** - * Does any invalidation work specific to the search type. - */ + private: + + // + // Save/restore/invalidate work specific to the search type. + // + + virtual void finishSaveState() = 0; + + virtual void finishRestoreState(OperationContext* txn) = 0; + virtual void finishInvalidate(OperationContext* txn, const RecordId& dl, InvalidationType type) = 0; - private: - // // Generic methods for progressive search functionality // |