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