ClickHouse/src/Functions/visitParamExtractUInt.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
561 B
C++
Raw Normal View History

#include <Functions/FunctionFactory.h>
#include <Functions/FunctionsVisitParam.h>
#include <Functions/FunctionsStringSearch.h>
namespace DB
{
2022-08-27 22:14:38 +00:00
struct NameSimpleJSONExtractUInt { static constexpr auto name = "simpleJSONExtractUInt"; };
using FunctionSimpleJSONExtractUInt = FunctionsStringSearch<ExtractParamImpl<NameSimpleJSONExtractUInt, ExtractNumericType<UInt64>>>;
REGISTER_FUNCTION(VisitParamExtractUInt)
{
2021-03-30 16:25:56 +00:00
factory.registerFunction<FunctionSimpleJSONExtractUInt>();
2022-08-27 22:14:38 +00:00
factory.registerAlias("visitParamExtractUInt", "simpleJSONExtractUInt");
}
}