ClickHouse/src/Functions/multiSearchAllPositionsUTF8.cpp

28 lines
571 B
C++
Raw Normal View History

#include "FunctionsMultiStringPosition.h"
#include "FunctionFactory.h"
#include "MultiSearchAllPositionsImpl.h"
#include "PositionImpl.h"
namespace DB
{
2020-09-07 18:00:37 +00:00
namespace
{
struct NameMultiSearchAllPositionsUTF8
{
static constexpr auto name = "multiSearchAllPositionsUTF8";
};
using FunctionMultiSearchAllPositionsUTF8
= FunctionsMultiStringPosition<MultiSearchAllPositionsImpl<NameMultiSearchAllPositionsUTF8, PositionCaseSensitiveUTF8>>;
2020-09-07 18:00:37 +00:00
}
REGISTER_FUNCTION(MultiSearchAllPositionsUTF8)
{
factory.registerFunction<FunctionMultiSearchAllPositionsUTF8>();
}
}