public class StarRocksVersionedSerializer extends Object implements org.apache.flink.core.io.SimpleVersionedSerializer<StarrocksSnapshotState>
| Constructor and Description |
|---|
StarRocksVersionedSerializer(JsonWrapper jsonWrapper) |
| Modifier and Type | Method and Description |
|---|---|
StarrocksSnapshotState |
deserialize(int version,
byte[] serialized) |
int |
getVersion() |
byte[] |
serialize(StarrocksSnapshotState state) |
public StarRocksVersionedSerializer(JsonWrapper jsonWrapper)
public int getVersion()
getVersion in interface org.apache.flink.core.io.SimpleVersionedSerializer<StarrocksSnapshotState>getVersion in interface org.apache.flink.core.io.Versionedpublic byte[] serialize(StarrocksSnapshotState state) throws IOException
serialize in interface org.apache.flink.core.io.SimpleVersionedSerializer<StarrocksSnapshotState>IOExceptionpublic StarrocksSnapshotState deserialize(int version, byte[] serialized) throws IOException
deserialize in interface org.apache.flink.core.io.SimpleVersionedSerializer<StarrocksSnapshotState>IOExceptionCopyright © 2024. All rights reserved.