ValidationUtil.h 273 字节
Newer Older
J
jinhai 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#pragma once

#include "Error.h"

namespace zilliz {
namespace milvus {
namespace server {

ServerError
ValidateTableName(const std::string& table_name);

ServerError
ValidateTableDimension(int64_t dimension);

ServerError
ValidateTableIndexType(int32_t index_type);

}
}
}