//////////////////////////////////////////////////////////////////////////////// // Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved // Unauthorized copying of this file, via any medium is strictly prohibited. // Proprietary and confidential. //////////////////////////////////////////////////////////////////////////////// #pragma once #include #include #include "DB.h" #include "DBMetaImpl.h" #include "Options.h" namespace zilliz { namespace vecwise { namespace engine { struct DBMetaOptionsFactory { static DBMetaOptions Build(const std::string& path = ""); }; struct OptionsFactory { static Options Build(); }; struct DBMetaImplFactory { static std::shared_ptr Build(); }; struct DBFactory { static std::shared_ptr Build(const std::string& db_type = "Faiss,IVF"); static DB* Build(const Options&, const std::string& db_type = "Faiss,IVF"); }; } // namespace engine } // namespace vecwise } // namespace zilliz