diff --git a/cpp/src/db/db.h b/cpp/src/db/db.h index 1840450502a1519a43e75d73eb5dac56e3b37491..9707014e0f73cd719e797368b263edfe25f3829f 100644 --- a/cpp/src/db/db.h +++ b/cpp/src/db/db.h @@ -4,7 +4,9 @@ #include #include "options.h" -namespace vecengine { +namespace zilliz { +namespace vecwise { +namespace engine { class Env; @@ -22,6 +24,8 @@ public: virtual ~DB(); }; // DB -} // namespace vecengine +} // namespace engine +} // namespace vecwise +} // namespace zilliz #endif // VECENGINE_DB_H_ diff --git a/cpp/src/db/db_impl.h b/cpp/src/db/db_impl.h index de50cda91a6219db63f5df4422532ef29a87cda8..a502c0e82833bdde3598cfcfec6c455de6a662bd 100644 --- a/cpp/src/db/db_impl.h +++ b/cpp/src/db/db_impl.h @@ -5,7 +5,9 @@ #include #include "db.h" -namespace vecengine { +namespace zilliz { +namespace vecwise { +namespace engine { class Env; @@ -40,6 +42,10 @@ private: }; // DBImpl -} // namespace vecengine +} // namespace engine +} // namespace vecwise +} // namespace zilliz + +#endif // VECENGINE_DB_META_IMPL_H_ #endif // VECENGINE_DB_IMPL_H_ diff --git a/cpp/src/db/id_generators.h b/cpp/src/db/id_generators.h index 830b599a2a6404b254af377fe42b830e007c3326..767c3ce3224352078db904881779f40d3efb56a7 100644 --- a/cpp/src/db/id_generators.h +++ b/cpp/src/db/id_generators.h @@ -3,7 +3,9 @@ #include -namespace vecengine { +namespace zilliz { +namespace vecwise { +namespace engine { #define uint64_t IDNumber; #define IDNumber* IDNumberPtr; @@ -30,6 +32,8 @@ private: }; // SimpleIDGenerator -} // namespace vecengine +} // namespace engine +} // namespace vecwise +} // namespace zilliz #endif // UTILS_ID_GENERATORS_H_ diff --git a/cpp/src/db/memvectors.h b/cpp/src/db/memvectors.h index 1a025f8d2625ddb70b2fdaef3e8be4ebb686bb36..159ee441d48f8697d6e9971b424e643fd27f0bc8 100644 --- a/cpp/src/db/memvectors.h +++ b/cpp/src/db/memvectors.h @@ -9,7 +9,9 @@ class faiss::IndexIDMap; class faiss::Index; -namespace vecengine { +namespace zilliz { +namespace vecwise { +namespace engine { class MemVectors { public: @@ -51,6 +53,8 @@ private: }; // MemManager -} // namespace vecengine +} // namespace engine +} // namespace vecwise +} // namespace zilliz #endif diff --git a/cpp/src/db/options.h b/cpp/src/db/options.h index 3e74d0e9b4411256f5ee7c884f43846286f46230..283c1905fcfae80bbce02f5df8ca1c67ab9ca16f 100644 --- a/cpp/src/db/options.h +++ b/cpp/src/db/options.h @@ -3,7 +3,9 @@ #include -namespace vecengine { +namespace zilliz { +namespace vecwise { +namespace engine { struct Options { uint16_t memory_sync_interval = 10; @@ -28,6 +30,8 @@ struct DBMetaOptions : public MetaOptions { }; // DBMetaOptions -} // namespace vecengine +} // namespace engine +} // namespace vecwise +} // namespace zilliz #endif // VECENGINE_OPTIONS_H_ diff --git a/cpp/src/db/status.h b/cpp/src/db/status.h index 01e3a4ce5dc1da6619e441ac81e71ab9e135e6c9..3133c649242f9d540c9ec6837425f64adc788ca1 100644 --- a/cpp/src/db/status.h +++ b/cpp/src/db/status.h @@ -1,7 +1,9 @@ #ifndef VECENGINE_STATUS_H_ #define VECENGINE_STATUS_H_ -namespace vecengine { +namespace zilliz { +namespace vecwise { +namespace engine { class Status { public: @@ -50,6 +52,8 @@ inline Status& Status::operator=(Status&& rhs_) noexcept { return *this; } -} // namespace vecengine +} // namespace engine +} // namespace vecwise +} // namespace zilliz #endif // VECENGINE_STATUS_H_