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 NameMultiSearchAnyCaseInsensitive
|
|
|
|
{
|
|
|
|
static constexpr auto name = "multiSearchAnyCaseInsensitive";
|
|
|
|
};
|
2022-06-24 14:42:39 +00:00
|
|
|
using FunctionMultiSearchCaseInsensitive = FunctionsMultiStringSearch<MultiSearchImpl<NameMultiSearchAnyCaseInsensitive, PositionCaseInsensitiveASCII>>;
|
2020-03-29 17:04:16 +00:00
|
|
|
|
2020-09-07 18:00:37 +00:00
|
|
|
}
|
|
|
|
|
2022-07-04 07:01:39 +00:00
|
|
|
REGISTER_FUNCTION(MultiSearchAnyCaseInsensitive)
|
2020-03-29 17:04:16 +00:00
|
|
|
{
|
|
|
|
factory.registerFunction<FunctionMultiSearchCaseInsensitive>();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|