Class OSSRecoverableSerializer
java.lang.Object
org.apache.flink.fs.osshadoop.writer.OSSRecoverableSerializer
- All Implemented Interfaces:
org.apache.flink.core.io.SimpleVersionedSerializer<OSSRecoverable>,org.apache.flink.core.io.Versioned
@Internal
public class OSSRecoverableSerializer
extends Object
implements org.apache.flink.core.io.SimpleVersionedSerializer<OSSRecoverable>
Serializer implementation for a
OSSRecoverable.-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(int version, byte[] serialized) intbyte[]serialize(OSSRecoverable ossRecoverable)
-
Method Details
-
getVersion
public int getVersion()- Specified by:
getVersionin interfaceorg.apache.flink.core.io.SimpleVersionedSerializer<OSSRecoverable>- Specified by:
getVersionin interfaceorg.apache.flink.core.io.Versioned
-
serialize
- Specified by:
serializein interfaceorg.apache.flink.core.io.SimpleVersionedSerializer<OSSRecoverable>- Throws:
IOException
-
deserialize
- Specified by:
deserializein interfaceorg.apache.flink.core.io.SimpleVersionedSerializer<OSSRecoverable>- Throws:
IOException
-