2020-03-29 17:04:16 +00:00
|
|
|
#include "FunctionsMultiStringSearch.h"
|
|
|
|
#include "FunctionFactory.h"
|
|
|
|
#include "MultiSearchImpl.h"
|
|
|
|
#include "PositionImpl.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
2020-09-07 18:00:37 +00:00
|
|
|
namespace
|
|
|
|
{
|
2020-03-29 17:04:16 +00:00
|
|
|
|
|
|
|
struct NameMultiSearchAnyCaseInsensitiveUTF8
|
|
|
|
{
|
|
|
|
static constexpr auto name = "multiSearchAnyCaseInsensitiveUTF8";
|
|
|
|
};
|
|
|
|
|
|
|
|
using FunctionMultiSearchCaseInsensitiveUTF8
|
2021-09-21 16:43:46 +00:00
|
|
|
= FunctionsMultiStringSearch<MultiSearchImpl<NameMultiSearchAnyCaseInsensitiveUTF8, PositionCaseInsensitiveUTF8>>;
|
2020-03-29 17:04:16 +00:00
|
|
|
|
2020-09-07 18:00:37 +00:00
|
|
|
}
|
|
|
|
|
2020-03-29 17:04:16 +00:00
|
|
|
void registerFunctionMultiSearchAnyCaseInsensitiveUTF8(FunctionFactory & factory)
|
|
|
|
{
|
|
|
|
factory.registerFunction<FunctionMultiSearchCaseInsensitiveUTF8>();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|