ClickHouse/src/Functions/multiSearchFirstIndexUTF8.cpp

28 lines
551 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 NameMultiSearchFirstIndexUTF8
{
static constexpr auto name = "multiSearchFirstIndexUTF8";
};
using FunctionMultiSearchFirstIndexUTF8
= FunctionsMultiStringSearch<MultiSearchFirstIndexImpl<NameMultiSearchFirstIndexUTF8, PositionCaseSensitiveUTF8>>;
2020-09-07 18:00:37 +00:00
}
REGISTER_FUNCTION(MultiSearchFirstIndexUTF8)
{
factory.registerFunction<FunctionMultiSearchFirstIndexUTF8>();
}
}