Class OSSRecoverableMultipartUpload
java.lang.Object
org.apache.flink.fs.osshadoop.writer.OSSRecoverableMultipartUpload
Uploader for OSS multi part upload.
-
Constructor Summary
ConstructorsConstructorDescriptionOSSRecoverableMultipartUpload(String objectName, Executor uploadThreadPool, OSSAccessor ossAccessor, Optional<File> incompletePart, String uploadId, List<com.aliyun.oss.model.PartETag> completeParts, long expectedSizeInBytes) -
Method Summary
Modifier and TypeMethodDescriptiongetRecoverable(org.apache.flink.core.fs.RefCountedFSOutputStream file) voiduploadPart(org.apache.flink.core.fs.RefCountedFSOutputStream file)
-
Constructor Details
-
OSSRecoverableMultipartUpload
-
-
Method Details
-
getIncompletePart
-
uploadPart
- Throws:
IOException
-
getRecoverable
public OSSRecoverable getRecoverable(org.apache.flink.core.fs.RefCountedFSOutputStream file) throws IOException - Throws:
IOException
-
getCommitter
- Throws:
IOException
-