2020-03-29 17:04:16 +00:00
|
|
|
#include "FunctionsMultiStringPosition.h"
|
|
|
|
#include "FunctionFactory.h"
|
|
|
|
#include "MultiSearchAllPositionsImpl.h"
|
|
|
|
#include "PositionImpl.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
2020-09-07 18:00:37 +00:00
|
|
|
namespace
|
|
|
|
{
|
2020-03-29 17:04:16 +00:00
|
|
|
|
|
|
|
struct NameMultiSearchAllPositionsCaseInsensitiveUTF8
|
|
|
|
{
|
|
|
|
static constexpr auto name = "multiSearchAllPositionsCaseInsensitiveUTF8";
|
|
|
|
};
|
|
|
|
|
|
|
|
using FunctionMultiSearchAllPositionsCaseInsensitiveUTF8 = FunctionsMultiStringPosition<
|
|
|
|
MultiSearchAllPositionsImpl<PositionCaseInsensitiveUTF8>,
|
|
|
|
NameMultiSearchAllPositionsCaseInsensitiveUTF8>;
|
|
|
|
|
2020-09-07 18:00:37 +00:00
|
|
|
}
|
|
|
|
|
2020-03-29 17:04:16 +00:00
|
|
|
void registerFunctionMultiSearchAllPositionsCaseInsensitiveUTF8(FunctionFactory & factory)
|
|
|
|
{
|
|
|
|
factory.registerFunction<FunctionMultiSearchAllPositionsCaseInsensitiveUTF8>();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|