| 1 | #include <Functions/FunctionFactory.h> |
|---|---|
| 2 | #include <Functions/FunctionsVisitParam.h> |
| 3 | #include <Functions/FunctionsStringSearch.h> |
| 4 | |
| 5 | |
| 6 | namespace DB |
| 7 | { |
| 8 | |
| 9 | struct NameVisitParamExtractInt { static constexpr auto name = "visitParamExtractInt"; }; |
| 10 | using FunctionVisitParamExtractInt = FunctionsStringSearch<ExtractParamImpl<ExtractNumericType<Int64>>, NameVisitParamExtractInt>; |
| 11 | |
| 12 | |
| 13 | void registerFunctionVisitParamExtractInt(FunctionFactory & factory) |
| 14 | { |
| 15 | factory.registerFunction<FunctionVisitParamExtractInt>(); |
| 16 | } |
| 17 | |
| 18 | } |
| 19 |