ClickHouse/src/Functions/visitParamExtractInt.cpp

19 lines
509 B
C++
Raw Normal View History

#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>();
}
}