ClickHouse/src/Functions/multiSearchAnyCaseInsensitive.cpp

26 lines
547 B
C++
Raw Normal View History

#include "FunctionsMultiStringSearch.h"
#include "FunctionFactory.h"
#include "MultiSearchImpl.h"
#include "PositionImpl.h"
namespace DB
{
2020-09-07 18:00:37 +00:00
namespace
{
struct NameMultiSearchAnyCaseInsensitive
{
static constexpr auto name = "multiSearchAnyCaseInsensitive";
};
using FunctionMultiSearchCaseInsensitive = FunctionsMultiStringSearch<MultiSearchImpl<NameMultiSearchAnyCaseInsensitive, PositionCaseInsensitiveASCII>>;
2020-09-07 18:00:37 +00:00
}
REGISTER_FUNCTION(MultiSearchAnyCaseInsensitive)
{
factory.registerFunction<FunctionMultiSearchCaseInsensitive>();
}
}