mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 01:12:12 +00:00
29 lines
701 B
C++
29 lines
701 B
C++
#include "FunctionsMultiStringSearch.h"
|
|
#include "FunctionFactory.h"
|
|
#include "MultiSearchFirstPositionImpl.h"
|
|
#include "PositionImpl.h"
|
|
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct NameMultiSearchFirstPositionCaseInsensitiveUTF8
|
|
{
|
|
static constexpr auto name = "multiSearchFirstPositionCaseInsensitiveUTF8";
|
|
};
|
|
|
|
using FunctionMultiSearchFirstPositionCaseInsensitiveUTF8 = FunctionsMultiStringSearch<
|
|
MultiSearchFirstPositionImpl<PositionCaseInsensitiveUTF8>,
|
|
NameMultiSearchFirstPositionCaseInsensitiveUTF8>;
|
|
|
|
}
|
|
|
|
void registerFunctionMultiSearchFirstPositionCaseInsensitiveUTF8(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionMultiSearchFirstPositionCaseInsensitiveUTF8>();
|
|
}
|
|
|
|
}
|