mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
19 lines
509 B
C++
19 lines
509 B
C++
#include <Functions/FunctionFactory.h>
|
|
#include <Functions/FunctionsVisitParam.h>
|
|
#include <Functions/FunctionsStringSearch.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct NameVisitParamExtractInt { static constexpr auto name = "visitParamExtractInt"; };
|
|
using FunctionVisitParamExtractInt = FunctionsStringSearch<ExtractParamImpl<ExtractNumericType<Int64>>, NameVisitParamExtractInt>;
|
|
|
|
|
|
void registerFunctionVisitParamExtractInt(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionVisitParamExtractInt>();
|
|
}
|
|
|
|
}
|