mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
25 lines
560 B
C++
25 lines
560 B
C++
#include "FunctionsStringSearch.h"
|
|
#include "FunctionFactory.h"
|
|
#include "CountSubstringsImpl.h"
|
|
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct NameCountSubstringsCaseInsensitive
|
|
{
|
|
static constexpr auto name = "countSubstringsCaseInsensitive";
|
|
};
|
|
|
|
using FunctionCountSubstringsCaseInsensitive = FunctionsStringSearch<CountSubstringsImpl<NameCountSubstringsCaseInsensitive, PositionCaseInsensitiveASCII>>;
|
|
|
|
}
|
|
|
|
void registerFunctionCountSubstringsCaseInsensitive(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionCountSubstringsCaseInsensitive>();
|
|
}
|
|
}
|