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