ClickHouse/src/Functions/notLike.cpp

25 lines
458 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 NameNotLike
{
static constexpr auto name = "notLike";
};
using FunctionNotLike = FunctionsStringSearch<MatchImpl<NameNotLike, MatchTraits::Syntax::Like, MatchTraits::Case::Sensitive, MatchTraits::Result::Negate>>;
2020-09-07 18:00:37 +00:00
}
void registerFunctionNotLike(FunctionFactory & factory)
{
factory.registerFunction<FunctionNotLike>();
}
}