aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Functions/positionUTF8.cpp
blob: fd9def8109ded7bf2032b53a6fade0e787aebb57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "FunctionsStringSearch.h"
#include "FunctionFactory.h"
#include "PositionImpl.h"


namespace DB
{
namespace
{

struct NamePositionUTF8
{
    static constexpr auto name = "positionUTF8";
};

using FunctionPositionUTF8 = FunctionsStringSearch<PositionImpl<NamePositionUTF8, PositionCaseSensitiveUTF8>>;

}

REGISTER_FUNCTION(PositionUTF8)
{
    factory.registerFunction<FunctionPositionUTF8>();
}

}