Package org.apache.flink.formats.json
Class JsonToRowDataConverters
- java.lang.Object
-
- org.apache.flink.formats.json.JsonToRowDataConverters
-
- All Implemented Interfaces:
Serializable
@Internal public class JsonToRowDataConverters extends Object implements Serializable
Tool class used to convert fromJsonNode
toRowData
. *- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
JsonToRowDataConverters.JsonToRowDataConverter
Runtime converter that convertsJsonNode
s into objects of Flink Table & SQL internal data structures.
-
Constructor Summary
Constructors Constructor Description JsonToRowDataConverters(boolean failOnMissingField, boolean ignoreParseErrors, TimestampFormat timestampFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonToRowDataConverters.JsonToRowDataConverter
createConverter(LogicalType type)
Creates a runtime converter which is null safe.JsonToRowDataConverters.JsonToRowDataConverter
createRowConverter(RowType rowType)
-
-
-
Constructor Detail
-
JsonToRowDataConverters
public JsonToRowDataConverters(boolean failOnMissingField, boolean ignoreParseErrors, TimestampFormat timestampFormat)
-
-
Method Detail
-
createConverter
public JsonToRowDataConverters.JsonToRowDataConverter createConverter(LogicalType type)
Creates a runtime converter which is null safe.
-
createRowConverter
public JsonToRowDataConverters.JsonToRowDataConverter createRowConverter(RowType rowType)
-
-