mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +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>();
|
|
}
|
|
}
|