ClickHouse/dbms/Functions/FunctionsJSON.cpp

27 lines
1.3 KiB
C++
Raw Normal View History

2019-03-14 02:55:04 +00:00
#include <Functions/FunctionsJSON.h>
2019-05-16 19:39:42 +00:00
#include <Functions/FunctionFactory.h>
2019-03-14 02:55:04 +00:00
namespace DB
{
2019-03-14 02:55:04 +00:00
void registerFunctionsJSON(FunctionFactory & factory)
{
2019-05-16 19:39:42 +00:00
factory.registerFunction<FunctionJSON<NameJSONHas, JSONHasImpl>>();
2019-10-19 07:26:19 +00:00
factory.registerFunction<FunctionJSON<NameIsValidJSON, IsValidJSONImpl>>();
2019-05-16 19:39:42 +00:00
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>>();
2019-12-08 00:18:24 +00:00
factory.registerFunction<FunctionJSON<NameJSONExtractArrayRaw, JSONExtractArrayRawImpl>>();
2019-03-14 02:55:04 +00:00
}
2019-03-14 02:55:04 +00:00
}