ClickHouse/src/Functions/notILike.cpp

25 lines
450 B
C++
Raw Normal View History

#include "FunctionsStringSearch.h"
#include "FunctionFactory.h"
#include "MatchImpl.h"
namespace DB
{
2020-09-07 18:00:37 +00:00
namespace
{
struct NameNotILike
{
static constexpr auto name = "notILike";
};
2020-09-07 18:00:37 +00:00
using NotILikeImpl = MatchImpl<true, true, /*case-insensitive*/true>;
using FunctionNotILike = FunctionsStringSearch<NotILikeImpl, NameNotILike>;
2020-09-07 18:00:37 +00:00
}
void registerFunctionNotILike(FunctionFactory & factory)
{
factory.registerFunction<FunctionNotILike>();
}
}