milvus/cpp/src/db/options.h
Xu Peng 5c5e3205f0 fix(db): fix db compile errors
Former-commit-id: ac0e3e3a6a6bc82dec43eb431592633ce1292db2
2019-04-15 20:49:30 +08:00

44 lines
769 B
C++

#ifndef VECENGINE_OPTIONS_H_
#define VECENGINE_OPTIONS_H_
#include <string>
#include <memory>
namespace zilliz {
namespace vecwise {
namespace engine {
class MetaOptions;
class Env;
struct Options {
uint16_t memory_sync_interval = 10;
uint16_t raw_file_merge_trigger_number = 100;
size_t raw_to_index_trigger_size = 100000;
std::shared_ptr<MetaOptions> pMetaOptions;
Env* env;
}; // Options
struct GroupOptions {
size_t dimension;
bool has_id = false;
}; // GroupOptions
struct MetaOptions {
}; // MetaOptions
struct DBMetaOptions : public MetaOptions {
std::string backend_uri;
std::string dbname;
}; // DBMetaOptions
} // namespace engine
} // namespace vecwise
} // namespace zilliz
#endif // VECENGINE_OPTIONS_H_