aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/multiSearchAnyCaseInsensitive.cpp
blob: 209a586b4aa1c9fce36d5f8d76928acf19da4c51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "FunctionsMultiStringSearch.h"
#include "FunctionFactory.h"
#include "MultiSearchImpl.h"
#include "PositionImpl.h"


namespace DB
{
namespace
{

struct NameMultiSearchAnyCaseInsensitive
{
    static constexpr auto name = "multiSearchAnyCaseInsensitive";
};
using FunctionMultiSearchCaseInsensitive = FunctionsMultiStringSearch<MultiSearchImpl<NameMultiSearchAnyCaseInsensitive, PositionCaseInsensitiveASCII>>;

}

REGISTER_FUNCTION(MultiSearchAnyCaseInsensitive)
{
    factory.registerFunction<FunctionMultiSearchCaseInsensitive>();
}

}