1 | #include <Functions/FunctionsJSON.h> |
2 | #include <Functions/FunctionFactory.h> |
3 | |
4 | |
5 | namespace DB |
6 | { |
7 | |
8 | void registerFunctionsJSON(FunctionFactory & factory) |
9 | { |
10 | factory.registerFunction<FunctionJSON<NameJSONHas, JSONHasImpl>>(); |
11 | factory.registerFunction<FunctionJSON<NameIsValidJSON, IsValidJSONImpl>>(); |
12 | factory.registerFunction<FunctionJSON<NameJSONLength, JSONLengthImpl>>(); |
13 | factory.registerFunction<FunctionJSON<NameJSONKey, JSONKeyImpl>>(); |
14 | factory.registerFunction<FunctionJSON<NameJSONType, JSONTypeImpl>>(); |
15 | factory.registerFunction<FunctionJSON<NameJSONExtractInt, JSONExtractInt64Impl>>(); |
16 | factory.registerFunction<FunctionJSON<NameJSONExtractUInt, JSONExtractUInt64Impl>>(); |
17 | factory.registerFunction<FunctionJSON<NameJSONExtractFloat, JSONExtractFloat64Impl>>(); |
18 | factory.registerFunction<FunctionJSON<NameJSONExtractBool, JSONExtractBoolImpl>>(); |
19 | factory.registerFunction<FunctionJSON<NameJSONExtractString, JSONExtractStringImpl>>(); |
20 | factory.registerFunction<FunctionJSON<NameJSONExtract, JSONExtractImpl>>(); |
21 | factory.registerFunction<FunctionJSON<NameJSONExtractKeysAndValues, JSONExtractKeysAndValuesImpl>>(); |
22 | factory.registerFunction<FunctionJSON<NameJSONExtractRaw, JSONExtractRawImpl>>(); |
23 | factory.registerFunction<FunctionJSON<NameJSONExtractArrayRaw, JSONExtractArrayRawImpl>>(); |
24 | } |
25 | |
26 | } |
27 | |