ClickHouse/src/Functions/multiSearchAllPositions.cpp

28 lines
548 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 NameMultiSearchAllPositions
{
static constexpr auto name = "multiSearchAllPositions";
};
using FunctionMultiSearchAllPositions
= FunctionsMultiStringPosition<MultiSearchAllPositionsImpl<NameMultiSearchAllPositions, PositionCaseSensitiveASCII>>;
2020-09-07 18:00:37 +00:00
}
REGISTER_FUNCTION(MultiSearchAllPositions)
{
factory.registerFunction<FunctionMultiSearchAllPositions>();
}
}