@PublicEvolving public class JsonRowSerializationSchema extends Object implements org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.types.Row>
Serializes the input Flink object into a JSON string and
converts it into byte[].
Result byte[] messages can be deserialized using JsonRowDeserializationSchema.
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonRowSerializationSchema.Builder
Builder for
JsonRowSerializationSchema. |
| Constructor and Description |
|---|
JsonRowSerializationSchema(org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> typeInfo)
Deprecated.
Use the provided
JsonRowSerializationSchema.Builder instead. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
byte[] |
serialize(org.apache.flink.types.Row row) |
@Deprecated public JsonRowSerializationSchema(org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> typeInfo)
JsonRowSerializationSchema.Builder instead.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.