mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 11:33:46 +00:00
26 lines
436 B
C++
26 lines
436 B
C++
#include "FunctionsStringSearch.h"
|
|
#include "FunctionFactory.h"
|
|
#include "PositionImpl.h"
|
|
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct NamePositionUTF8
|
|
{
|
|
static constexpr auto name = "positionUTF8";
|
|
};
|
|
|
|
using FunctionPositionUTF8 = FunctionsStringSearch<PositionImpl<PositionCaseSensitiveUTF8>, NamePositionUTF8>;
|
|
|
|
}
|
|
|
|
void registerFunctionPositionUTF8(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionPositionUTF8>();
|
|
}
|
|
|
|
}
|