mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +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>();
|
||
|
}
|
||
|
|
||
|
}
|