2019-11-07 03:51:11 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-09-19 15:02:11 +00:00
|
|
|
#include <string>
|
2019-11-07 03:51:11 +00:00
|
|
|
#include <Core/Names.h>
|
2022-09-27 14:30:59 +00:00
|
|
|
#include <Parsers/IAST_fwd.h>
|
2019-11-07 03:51:11 +00:00
|
|
|
|
|
|
|
|
2020-09-19 15:02:11 +00:00
|
|
|
namespace DB
|
2019-11-07 03:51:11 +00:00
|
|
|
{
|
|
|
|
|
2020-09-19 15:02:11 +00:00
|
|
|
/// Find parameters in a query and collect them into set.
|
2020-09-19 14:47:22 +00:00
|
|
|
NameSet analyzeReceiveQueryParams(const std::string & query);
|
2020-04-04 08:57:16 +00:00
|
|
|
|
2022-09-27 14:30:59 +00:00
|
|
|
NameSet analyzeReceiveQueryParams(const ASTPtr & ast);
|
|
|
|
|
2022-12-19 14:05:38 +00:00
|
|
|
NameToNameMap analyzeReceiveQueryParamsWithType(const ASTPtr & ast);
|
|
|
|
|
2019-11-07 03:51:11 +00:00
|
|
|
}
|