ClickHouse/src/Functions/countSubstringsCaseInsensitiveUTF8.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
563 B
C++
Raw Normal View History

#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>>;
}
REGISTER_FUNCTION(CountSubstringsCaseInsensitiveUTF8)
{
factory.registerFunction<FunctionCountSubstringsCaseInsensitiveUTF8>();
}
}