mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
24 lines
542 B
C++
24 lines
542 B
C++
#include "FunctionsStringSearch.h"
|
|
#include <Functions/FunctionFactory.h>
|
|
#include "HasTokenImpl.h"
|
|
#include <Common/Volnitsky.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct NameHasTokenCaseInsensitive
|
|
{
|
|
static constexpr auto name = "hasTokenCaseInsensitive";
|
|
};
|
|
|
|
using FunctionHasTokenCaseInsensitive
|
|
= FunctionsStringSearch<HasTokenImpl<VolnitskyCaseInsensitiveToken, false>, NameHasTokenCaseInsensitive>;
|
|
|
|
void registerFunctionHasTokenCaseInsensitive(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionHasTokenCaseInsensitive>();
|
|
}
|
|
|
|
}
|