mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 11:52:27 +00:00
26 lines
1.2 KiB
C++
26 lines
1.2 KiB
C++
#include <Functions/FunctionsJSON.h>
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void registerFunctionsJSON(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionJSON<NameJSONHas, JSONHasImpl>>();
|
|
factory.registerFunction<FunctionJSON<NameIsValidJSON, IsValidJSONImpl>>();
|
|
factory.registerFunction<FunctionJSON<NameJSONLength, JSONLengthImpl>>();
|
|
factory.registerFunction<FunctionJSON<NameJSONKey, JSONKeyImpl>>();
|
|
factory.registerFunction<FunctionJSON<NameJSONType, JSONTypeImpl>>();
|
|
factory.registerFunction<FunctionJSON<NameJSONExtractInt, JSONExtractInt64Impl>>();
|
|
factory.registerFunction<FunctionJSON<NameJSONExtractUInt, JSONExtractUInt64Impl>>();
|
|
factory.registerFunction<FunctionJSON<NameJSONExtractFloat, JSONExtractFloat64Impl>>();
|
|
factory.registerFunction<FunctionJSON<NameJSONExtractBool, JSONExtractBoolImpl>>();
|
|
factory.registerFunction<FunctionJSON<NameJSONExtractString, JSONExtractStringImpl>>();
|
|
factory.registerFunction<FunctionJSON<NameJSONExtract, JSONExtractImpl>>();
|
|
factory.registerFunction<FunctionJSON<NameJSONExtractKeysAndValues, JSONExtractKeysAndValuesImpl>>();
|
|
factory.registerFunction<FunctionJSON<NameJSONExtractRaw, JSONExtractRawImpl>>();
|
|
}
|
|
|
|
}
|