2020-05-06 23:21:13 +00:00
|
|
|
#include "FunctionsMultiStringSearch.h"
|
|
|
|
#include "FunctionFactory.h"
|
|
|
|
#include "MultiMatchAnyImpl.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
2020-09-07 18:00:37 +00:00
|
|
|
namespace
|
|
|
|
{
|
2020-05-06 23:21:13 +00:00
|
|
|
|
|
|
|
struct NameMultiMatchAnyIndex
|
|
|
|
{
|
|
|
|
static constexpr auto name = "multiMatchAnyIndex";
|
|
|
|
};
|
|
|
|
|
|
|
|
using FunctionMultiMatchAnyIndex = FunctionsMultiStringSearch<
|
|
|
|
MultiMatchAnyImpl<UInt64, false, true, false>,
|
|
|
|
NameMultiMatchAnyIndex,
|
|
|
|
std::numeric_limits<UInt32>::max()>;
|
|
|
|
|
2020-09-07 18:00:37 +00:00
|
|
|
}
|
|
|
|
|
2020-05-06 23:21:13 +00:00
|
|
|
void registerFunctionMultiMatchAnyIndex(FunctionFactory & factory)
|
|
|
|
{
|
|
|
|
factory.registerFunction<FunctionMultiMatchAnyIndex>();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|