mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
26 lines
368 B
C++
26 lines
368 B
C++
#include "FunctionsStringSearch.h"
|
|
#include "FunctionFactory.h"
|
|
#include "MatchImpl.h"
|
|
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct NameMatch
|
|
{
|
|
static constexpr auto name = "match";
|
|
};
|
|
|
|
using FunctionMatch = FunctionsStringSearch<MatchImpl<false>, NameMatch>;
|
|
|
|
}
|
|
|
|
void registerFunctionMatch(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionMatch>();
|
|
}
|
|
|
|
}
|