Class JsonRowSerializationSchema
- java.lang.Object
-
- io.pravega.connectors.flink.serialization.JsonRowSerializationSchema
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.types.Row>
@Deprecated public class JsonRowSerializationSchema extends java.lang.Object implements org.apache.flink.api.common.serialization.SerializationSchema<org.apache.flink.types.Row>
Deprecated.Please useJsonRowSerializationSchema
from flink-json moduleSerialization schema that serializes an object into a JSON bytes.Serializes the input
Row
object into a JSON string and converts it intobyte[]
.Result
byte[]
messages can be deserialized usingJsonRowDeserializationSchema
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonRowSerializationSchema(java.lang.String[] fieldNames)
Deprecated.Creates a JSON serialization schema for the given fields and types.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]
serialize(org.apache.flink.types.Row row)
Deprecated.
-