Package org.apache.flink.formats.json
Class RowDataToJsonConverters
java.lang.Object
org.apache.flink.formats.json.RowDataToJsonConverters
- All Implemented Interfaces:
Serializable
Tool class used to convert from
RowData to JsonNode. *- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRuntime converter that converts objects of Flink Table & SQL internal data structures to correspondingJsonNodes. -
Constructor Summary
ConstructorsConstructorDescriptionRowDataToJsonConverters(org.apache.flink.formats.common.TimestampFormat timestampFormat, JsonFormatOptions.MapNullKeyMode mapNullKeyMode, String mapNullKeyLiteral, boolean ignoreNullFields) -
Method Summary
Modifier and TypeMethodDescriptioncreateConverter(org.apache.flink.table.types.logical.LogicalType type) Creates a runtime converter which is null safe.
-
Constructor Details
-
RowDataToJsonConverters
public RowDataToJsonConverters(org.apache.flink.formats.common.TimestampFormat timestampFormat, JsonFormatOptions.MapNullKeyMode mapNullKeyMode, String mapNullKeyLiteral, boolean ignoreNullFields)
-
-
Method Details
-
createConverter
public RowDataToJsonConverters.RowDataToJsonConverter createConverter(org.apache.flink.table.types.logical.LogicalType type) Creates a runtime converter which is null safe.
-