mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
26 lines
592 B
C++
26 lines
592 B
C++
#include "FunctionsStringSearch.h"
|
|
#include "FunctionFactory.h"
|
|
#include "CountSubstringsImpl.h"
|
|
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct NameCountSubstringsCaseInsensitiveUTF8
|
|
{
|
|
static constexpr auto name = "countSubstringsCaseInsensitiveUTF8";
|
|
};
|
|
|
|
using FunctionCountSubstringsCaseInsensitiveUTF8 = FunctionsStringSearch<
|
|
CountSubstringsImpl<NameCountSubstringsCaseInsensitiveUTF8, PositionCaseInsensitiveUTF8>>;
|
|
|
|
}
|
|
|
|
void registerFunctionCountSubstringsCaseInsensitiveUTF8(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionCountSubstringsCaseInsensitiveUTF8>();
|
|
}
|
|
}
|