@Internal @Experimental(value=SCHEMAS) public interface PayloadSerializer extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Modifier and Type | Method and Description |
---|---|
Row |
deserialize(byte[] bytes) |
static PayloadSerializer |
of(SerializableFunction<Row,byte[]> serializeFn,
SerializableFunction<byte[],Row> deserializeFn) |
byte[] |
serialize(Row row) |
static final long serialVersionUID
byte[] serialize(Row row)
Row deserialize(byte[] bytes)
static PayloadSerializer of(SerializableFunction<Row,byte[]> serializeFn, SerializableFunction<byte[],Row> deserializeFn)