ClickHouse/src/Functions/multiMatchAnyIndex.cpp

28 lines
538 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 NameMultiMatchAnyIndex
{
static constexpr auto name = "multiMatchAnyIndex";
};
using FunctionMultiMatchAnyIndex = FunctionsMultiStringSearch<
MultiMatchAnyImpl<NameMultiMatchAnyIndex, UInt64, false, true, false>,
std::numeric_limits<UInt32>::max()>;
2020-09-07 18:00:37 +00:00
}
void registerFunctionMultiMatchAnyIndex(FunctionFactory & factory)
{
factory.registerFunction<FunctionMultiMatchAnyIndex>();
}
}