Package org.apache.flink.formats.json
Class JsonToRowDataConverters
java.lang.Object
org.apache.flink.formats.json.JsonToRowDataConverters
- All Implemented Interfaces:
Serializable
Tool class used to convert from
JsonNode to RowData. *- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRuntime converter that convertsJsonNodes into objects of Flink Table & SQL internal data structures. -
Constructor Summary
ConstructorsConstructorDescriptionJsonToRowDataConverters(boolean failOnMissingField, boolean ignoreParseErrors, org.apache.flink.formats.common.TimestampFormat timestampFormat) -
Method Summary
Modifier and TypeMethodDescriptioncreateConverter(org.apache.flink.table.types.logical.LogicalType type) Creates a runtime converter which is null safe.createRowConverter(org.apache.flink.table.types.logical.RowType rowType)
-
Constructor Details
-
JsonToRowDataConverters
public JsonToRowDataConverters(boolean failOnMissingField, boolean ignoreParseErrors, org.apache.flink.formats.common.TimestampFormat timestampFormat)
-
-
Method Details
-
createConverter
public JsonToRowDataConverters.JsonToRowDataConverter createConverter(org.apache.flink.table.types.logical.LogicalType type) Creates a runtime converter which is null safe. -
createRowConverter
public JsonToRowDataConverters.JsonToRowDataConverter createRowConverter(org.apache.flink.table.types.logical.RowType rowType)
-