ClickHouse/src/Functions/multiMatchAllIndices.cpp

29 lines
555 B
C++
Raw Normal View History

#include "FunctionsMultiStringSearch.h"
#include "FunctionFactory.h"
#include "MultiMatchAllIndicesImpl.h"
namespace DB
{
2020-09-07 18:00:37 +00:00
namespace
{
struct NameMultiMatchAllIndices
{
static constexpr auto name = "multiMatchAllIndices";
};
using FunctionMultiMatchAllIndices = FunctionsMultiStringSearch<
MultiMatchAllIndicesImpl<UInt64, false>,
NameMultiMatchAllIndices,
std::numeric_limits<UInt32>::max()>;
2020-09-07 18:00:37 +00:00
}
void registerFunctionMultiMatchAllIndices(FunctionFactory & factory)
{
factory.registerFunction<FunctionMultiMatchAllIndices>();
}
}