mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
24 lines
542 B
C++
24 lines
542 B
C++
|
#include "FunctionsMultiStringSearch.h"
|
||
|
#include "FunctionFactory.h"
|
||
|
#include "MultiSearchFirstIndexImpl.h"
|
||
|
#include "PositionImpl.h"
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
struct NameMultiSearchFirstIndex
|
||
|
{
|
||
|
static constexpr auto name = "multiSearchFirstIndex";
|
||
|
};
|
||
|
|
||
|
using FunctionMultiSearchFirstIndex
|
||
|
= FunctionsMultiStringSearch<MultiSearchFirstIndexImpl<PositionCaseSensitiveASCII>, NameMultiSearchFirstIndex>;
|
||
|
|
||
|
void registerFunctionMultiSearchFirstIndex(FunctionFactory & factory)
|
||
|
{
|
||
|
factory.registerFunction<FunctionMultiSearchFirstIndex>();
|
||
|
}
|
||
|
|
||
|
}
|