mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
24 lines
562 B
C++
24 lines
562 B
C++
|
#include "FunctionsMultiStringPosition.h"
|
||
|
#include "FunctionFactory.h"
|
||
|
#include "MultiSearchAllPositionsImpl.h"
|
||
|
#include "PositionImpl.h"
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
struct NameMultiSearchAllPositions
|
||
|
{
|
||
|
static constexpr auto name = "multiSearchAllPositions";
|
||
|
};
|
||
|
|
||
|
using FunctionMultiSearchAllPositions
|
||
|
= FunctionsMultiStringPosition<MultiSearchAllPositionsImpl<PositionCaseSensitiveASCII>, NameMultiSearchAllPositions>;
|
||
|
|
||
|
void registerFunctionMultiSearchAllPositions(FunctionFactory & factory)
|
||
|
{
|
||
|
factory.registerFunction<FunctionMultiSearchAllPositions>();
|
||
|
}
|
||
|
|
||
|
}
|