mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Document functions
This commit is contained in:
parent
65b9c69c90
commit
9d798ea1bc
@ -12,11 +12,16 @@ struct NameHasToken
|
||||
};
|
||||
|
||||
using FunctionHasToken = DB::FunctionsStringSearch<DB::HasTokenImpl<NameHasToken, DB::VolnitskyCaseSensitiveToken, false>>;
|
||||
using FunctionHasTokenOrNull = DB::FunctionsStringSearch<DB::HasTokenImpl<NameHasToken, DB::VolnitskyCaseSensitiveToken, false>, DB::ExecutionErrorPolicy::Null>;
|
||||
using FunctionHasTokenOrNull
|
||||
= DB::FunctionsStringSearch<DB::HasTokenImpl<NameHasToken, DB::VolnitskyCaseSensitiveToken, false>, DB::ExecutionErrorPolicy::Null>;
|
||||
}
|
||||
|
||||
REGISTER_FUNCTION(HasToken)
|
||||
{
|
||||
factory.registerFunction<FunctionHasToken>();
|
||||
factory.registerFunction<FunctionHasTokenOrNull>();
|
||||
factory.registerFunction<FunctionHasToken>(
|
||||
{"Performs lookup of needle in haystack using tokenbf_v1 index."}, DB::FunctionFactory::CaseSensitive);
|
||||
|
||||
factory.registerFunction<FunctionHasTokenOrNull>(
|
||||
{"Performs lookup of needle in haystack using tokenbf_v1 index. Returns null if needle is ill-formed."},
|
||||
DB::FunctionFactory::CaseSensitive);
|
||||
}
|
||||
|
@ -20,6 +20,10 @@ using FunctionHasTokenCaseInsensitiveOrNull = DB::FunctionsStringSearch<
|
||||
|
||||
REGISTER_FUNCTION(HasTokenCaseInsensitive)
|
||||
{
|
||||
factory.registerFunction<FunctionHasTokenCaseInsensitive>();
|
||||
factory.registerFunction<FunctionHasTokenCaseInsensitiveOrNull>();
|
||||
factory.registerFunction<FunctionHasTokenCaseInsensitive>(
|
||||
{"Performs case insensitive lookup of needle in haystack using tokenbf_v1 index."}, DB::FunctionFactory::CaseInsensitive);
|
||||
|
||||
factory.registerFunction<FunctionHasTokenCaseInsensitiveOrNull>(
|
||||
{"Performs case insensitive lookup of needle in haystack using tokenbf_v1 index. Returns null if needle is ill-formed."},
|
||||
DB::FunctionFactory::CaseInsensitive);
|
||||
}
|
||||
|
@ -344,8 +344,6 @@ hasAny
|
||||
hasColumnInTable
|
||||
hasSubstr
|
||||
hasThreadFuzzer
|
||||
hasToken
|
||||
hasTokenCaseInsensitive
|
||||
hashid
|
||||
hex
|
||||
hiveHash
|
||||
|
Loading…
Reference in New Issue
Block a user