mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
25 lines
450 B
C++
25 lines
450 B
C++
#include "FunctionsStringSearch.h"
|
|
#include "FunctionFactory.h"
|
|
#include "MatchImpl.h"
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct NameNotILike
|
|
{
|
|
static constexpr auto name = "notILike";
|
|
};
|
|
|
|
using NotILikeImpl = MatchImpl<NameNotILike, true, true, /*case-insensitive*/true>;
|
|
using FunctionNotILike = FunctionsStringSearch<NotILikeImpl>;
|
|
|
|
}
|
|
|
|
void registerFunctionNotILike(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionNotILike>();
|
|
}
|
|
}
|