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