1#include <Functions/FunctionFactory.h>
2#include <Functions/FunctionStringToString.h>
3#include "firstSignificantSubdomain.h"
4
5
6namespace DB
7{
8
9struct NameFirstSignificantSubdomain { static constexpr auto name = "firstSignificantSubdomain"; };
10using FunctionFirstSignificantSubdomain = FunctionStringToString<ExtractSubstringImpl<ExtractFirstSignificantSubdomain>, NameFirstSignificantSubdomain>;
11
12void registerFunctionFirstSignificantSubdomain(FunctionFactory & factory)
13{
14 factory.registerFunction<FunctionFirstSignificantSubdomain>();
15}
16
17}
18