ClickHouse/src/Functions/notILike.cpp

25 lines
471 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";
};
using NotILikeImpl = MatchImpl<NameNotILike, MatchTraits::Syntax::Like, MatchTraits::Case::Insensitive, MatchTraits::Result::Negate>;
using FunctionNotILike = FunctionsStringSearch<NotILikeImpl>;
2020-09-07 18:00:37 +00:00
}
REGISTER_FUNCTION(NotILike)
{
factory.registerFunction<FunctionNotILike>();
}
}