@Internal public class JsonRowDataSerializationSchema extends Object implements org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.table.data.RowData>
Serializes the input Flink object into a JSON string and converts it into byte[].
Result byte[] messages can be deserialized using JsonRowDataDeserializationSchema.
| Constructor and Description |
|---|
JsonRowDataSerializationSchema(org.apache.flink.table.types.logical.RowType rowType,
org.apache.flink.formats.common.TimestampFormat timestampFormat,
JsonOptions.MapNullKeyMode mapNullKeyMode,
String mapNullKeyLiteral,
boolean encodeDecimalAsPlainNumber) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
byte[] |
serialize(org.apache.flink.table.data.RowData row) |
public JsonRowDataSerializationSchema(org.apache.flink.table.types.logical.RowType rowType,
org.apache.flink.formats.common.TimestampFormat timestampFormat,
JsonOptions.MapNullKeyMode mapNullKeyMode,
String mapNullKeyLiteral,
boolean encodeDecimalAsPlainNumber)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.