aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Common/getMultipleKeysFromConfig.h
blob: 1c58af7bb4503560dcaf31a9b1fcf3e431b27345 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once
#include <string>
#include <vector>

namespace Poco
{
namespace Util
{
    class AbstractConfiguration;
}
}
namespace DB
{
/// get all internal key names for given key
std::vector<std::string> getMultipleKeysFromConfig(const Poco::Util::AbstractConfiguration & config, const std::string & root, const std::string & name);
/// Get all values for given key
std::vector<std::string> getMultipleValuesFromConfig(const Poco::Util::AbstractConfiguration & config, const std::string & root, const std::string & name);
}