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