ClickHouse/src/Functions/multiMatchAny.cpp
2020-09-07 21:00:37 +03:00

29 lines
511 B
C++

#include "FunctionsMultiStringSearch.h"
#include "FunctionFactory.h"
#include "MultiMatchAnyImpl.h"
namespace DB
{
namespace
{
struct NameMultiMatchAny
{
static constexpr auto name = "multiMatchAny";
};
using FunctionMultiMatchAny = FunctionsMultiStringSearch<
MultiMatchAnyImpl<UInt8, true, false, false>,
NameMultiMatchAny,
std::numeric_limits<UInt32>::max()>;
}
void registerFunctionMultiMatchAny(FunctionFactory & factory)
{
factory.registerFunction<FunctionMultiMatchAny>();
}
}