diff options
Diffstat (limited to 'src/mongo/db/pipeline/mongos_process_interface.h')
-rw-r--r-- | src/mongo/db/pipeline/mongos_process_interface.h | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/src/mongo/db/pipeline/mongos_process_interface.h b/src/mongo/db/pipeline/mongos_process_interface.h index f94e286d6c0..fcb3a1d1a5d 100644 --- a/src/mongo/db/pipeline/mongos_process_interface.h +++ b/src/mongo/db/pipeline/mongos_process_interface.h @@ -67,10 +67,6 @@ public: MONGO_UNREACHABLE; } - DBClientBase* directClient() final { - MONGO_UNREACHABLE; - } - bool isSharded(OperationContext* opCtx, const NamespaceString& nss) final; Status insert(const boost::intrusive_ptr<ExpressionContext>& expCtx, @@ -95,6 +91,11 @@ public: const NamespaceString& ns) final { MONGO_UNREACHABLE; } + std::list<BSONObj> getIndexSpecs(OperationContext* opCtx, + const NamespaceString& ns, + bool includeBuildUUIDs) final { + MONGO_UNREACHABLE; + } void appendLatencyStats(OperationContext* opCtx, const NamespaceString& nss, @@ -122,7 +123,7 @@ public: MONGO_UNREACHABLE; } - BSONObj getCollectionOptions(const NamespaceString& nss) final { + BSONObj getCollectionOptions(OperationContext* opCtx, const NamespaceString& nss) final { MONGO_UNREACHABLE; } @@ -134,6 +135,22 @@ public: MONGO_UNREACHABLE; } + void createCollection(OperationContext* opCtx, + const std::string& dbName, + const BSONObj& cmdObj) final { + MONGO_UNREACHABLE; + } + + void createIndexes(OperationContext* opCtx, + const NamespaceString& ns, + const std::vector<BSONObj>& indexSpecs) final { + MONGO_UNREACHABLE; + } + + void dropCollection(OperationContext* opCtx, const NamespaceString& collection) final { + MONGO_UNREACHABLE; + } + std::unique_ptr<Pipeline, PipelineDeleter> attachCursorSourceToPipeline( const boost::intrusive_ptr<ExpressionContext>& expCtx, Pipeline* pipeline) final; |