mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
19 lines
601 B
C++
19 lines
601 B
C++
|
#include <Functions/FunctionFactory.h>
|
||
|
#include "ExtractFirstSignificantSubdomain.h"
|
||
|
#include "FirstSignificantSubdomainCustomImpl.h"
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
struct NameFirstSignificantSubdomainCustom { static constexpr auto name = "firstSignificantSubdomainCustom"; };
|
||
|
|
||
|
using FunctionFirstSignificantSubdomainCustom = FunctionCutToFirstSignificantSubdomainCustomImpl<ExtractFirstSignificantSubdomain<true>, NameFirstSignificantSubdomainCustom>;
|
||
|
|
||
|
void registerFunctionFirstSignificantSubdomainCustom(FunctionFactory & factory)
|
||
|
{
|
||
|
factory.registerFunction<FunctionFirstSignificantSubdomainCustom>();
|
||
|
}
|
||
|
|
||
|
}
|