mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
28 lines
672 B
C++
28 lines
672 B
C++
#include "FunctionsMultiStringSearch.h"
|
|
#include "FunctionFactory.h"
|
|
#include "MultiSearchFirstIndexImpl.h"
|
|
#include "PositionImpl.h"
|
|
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct NameMultiSearchFirstIndexCaseInsensitiveUTF8
|
|
{
|
|
static constexpr auto name = "multiSearchFirstIndexCaseInsensitiveUTF8";
|
|
};
|
|
|
|
using FunctionMultiSearchFirstIndexCaseInsensitiveUTF8
|
|
= FunctionsMultiStringSearch<MultiSearchFirstIndexImpl<NameMultiSearchFirstIndexCaseInsensitiveUTF8, PositionCaseInsensitiveUTF8>>;
|
|
|
|
}
|
|
|
|
void registerFunctionMultiSearchFirstIndexCaseInsensitiveUTF8(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionMultiSearchFirstIndexCaseInsensitiveUTF8>();
|
|
}
|
|
|
|
}
|