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

29 lines
542 B
C++

#include "FunctionsMultiStringSearch.h"
#include "FunctionFactory.h"
#include "MultiMatchAnyImpl.h"
namespace DB
{
namespace
{
struct NameMultiMatchAnyIndex
{
static constexpr auto name = "multiMatchAnyIndex";
};
using FunctionMultiMatchAnyIndex = FunctionsMultiStringSearch<
MultiMatchAnyImpl<UInt64, false, true, false>,
NameMultiMatchAnyIndex,
std::numeric_limits<UInt32>::max()>;
}
void registerFunctionMultiMatchAnyIndex(FunctionFactory & factory)
{
factory.registerFunction<FunctionMultiMatchAnyIndex>();
}
}