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