mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +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>();
|
|
}
|
|
|
|
}
|