ClickHouse/src/Functions/multiSearchFirstIndexCaseInsensitive.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
620 B
C++
Raw Normal View History

#include "FunctionsMultiStringSearch.h"
#include "FunctionFactory.h"
#include "MultiSearchFirstIndexImpl.h"
#include "PositionImpl.h"
namespace DB
{
2020-09-07 18:00:37 +00:00
namespace
{
struct NameMultiSearchFirstIndexCaseInsensitive
{
static constexpr auto name = "multiSearchFirstIndexCaseInsensitive";
};
using FunctionMultiSearchFirstIndexCaseInsensitive
= FunctionsMultiStringSearch<MultiSearchFirstIndexImpl<NameMultiSearchFirstIndexCaseInsensitive, PositionCaseInsensitiveASCII>>;
2020-09-07 18:00:37 +00:00
}
REGISTER_FUNCTION(MultiSearchFirstIndexCaseInsensitive)
{
factory.registerFunction<FunctionMultiSearchFirstIndexCaseInsensitive>();
}
}