ClickHouse/src/Functions/multiMatchAny.cpp

26 lines
514 B
C++
Raw Normal View History

#include "FunctionsMultiStringSearch.h"
#include "FunctionFactory.h"
#include "MultiMatchAnyImpl.h"
namespace DB
{
2020-09-07 18:00:37 +00:00
namespace
{
struct NameMultiMatchAny
{
static constexpr auto name = "multiMatchAny";
};
using FunctionMultiMatchAny = FunctionsMultiStringSearch<MultiMatchAnyImpl<NameMultiMatchAny, /*ResultType*/ UInt8, MultiMatchTraits::Find::Any, /*WithEditDistance*/ false>>;
2020-09-07 18:00:37 +00:00
}
void registerFunctionMultiMatchAny(FunctionFactory & factory)
{
factory.registerFunction<FunctionMultiMatchAny>();
}
}