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

42 lines
707 B
C++

#pragma once
#include <string>
#include <memory>
namespace zilliz {
namespace vecwise {
namespace engine {
class MetaOptions;
class Env;
struct Options {
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