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 NameMultiSearchAllPositions
|
|
|
|
{
|
|
|
|
static constexpr auto name = "multiSearchAllPositions";
|
|
|
|
};
|
|
|
|
|
|
|
|
using FunctionMultiSearchAllPositions
|
2022-07-12 07:24:12 +00:00
|
|
|
= FunctionsMultiStringPosition<MultiSearchAllPositionsImpl<NameMultiSearchAllPositions, PositionCaseSensitiveASCII>>;
|
2020-03-29 17:04:16 +00:00
|
|
|
|
2020-09-07 18:00:37 +00:00
|
|
|
}
|
|
|
|
|
2022-07-04 07:01:39 +00:00
|
|
|
REGISTER_FUNCTION(MultiSearchAllPositions)
|
2020-03-29 17:04:16 +00:00
|
|
|
{
|
|
|
|
factory.registerFunction<FunctionMultiSearchAllPositions>();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|