public class GenericJobEventSerializer extends Object implements org.apache.flink.core.io.SimpleVersionedSerializer<JobEvent>
JobEvent instances that uses Flink's InstantiationUtil for
serialization and deserialization.| Modifier and Type | Field and Description |
|---|---|
static GenericJobEventSerializer |
INSTANCE |
| Constructor and Description |
|---|
GenericJobEventSerializer() |
| Modifier and Type | Method and Description |
|---|---|
JobEvent |
deserialize(int version,
byte[] bytes) |
int |
getVersion() |
byte[] |
serialize(JobEvent jobEvent) |
public static final GenericJobEventSerializer INSTANCE
public int getVersion()
getVersion in interface org.apache.flink.core.io.SimpleVersionedSerializer<JobEvent>getVersion in interface org.apache.flink.core.io.Versionedpublic byte[] serialize(JobEvent jobEvent) throws IOException
serialize in interface org.apache.flink.core.io.SimpleVersionedSerializer<JobEvent>IOExceptionpublic JobEvent deserialize(int version, byte[] bytes) throws IOException
deserialize in interface org.apache.flink.core.io.SimpleVersionedSerializer<JobEvent>IOExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.