blob: 19b40251d9dc1c013bc1f848aaf53809cf9a90d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include <unordered_map>
#include <Storages/ColumnsDescription.h>
#include <Storages/MeiliSearch/MeiliSearchConnection.h>
#include <base/types.h>
namespace DB
{
class MeiliSearchColumnDescriptionFetcher
{
public:
explicit MeiliSearchColumnDescriptionFetcher(const MeiliSearchConfiguration & config);
void addParam(const String & key, const String & val);
ColumnsDescription fetchColumnsDescription() const;
private:
std::unordered_map<String, String> query_params;
MeiliSearchConnection connection;
};
}
|