mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
28 lines
649 B
C++
28 lines
649 B
C++
#include "FunctionsMultiStringSearch.h"
|
|
#include "FunctionFactory.h"
|
|
#include "MultiSearchFirstIndexImpl.h"
|
|
#include "PositionImpl.h"
|
|
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct NameMultiSearchFirstIndexCaseInsensitive
|
|
{
|
|
static constexpr auto name = "multiSearchFirstIndexCaseInsensitive";
|
|
};
|
|
|
|
using FunctionMultiSearchFirstIndexCaseInsensitive
|
|
= FunctionsMultiStringSearch<MultiSearchFirstIndexImpl<NameMultiSearchFirstIndexCaseInsensitive, PositionCaseInsensitiveASCII>>;
|
|
|
|
}
|
|
|
|
void registerFunctionMultiSearchFirstIndexCaseInsensitive(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionMultiSearchFirstIndexCaseInsensitive>();
|
|
}
|
|
|
|
}
|