public class OSSCommitter extends Object implements org.apache.flink.core.fs.RecoverableFsDataOutputStream.Committer
| Constructor and Description |
|---|
OSSCommitter(OSSAccessor ossAccessor,
String objectName,
String uploadId,
List<com.aliyun.oss.model.PartETag> partETags,
long totalLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
void |
commitAfterRecovery() |
org.apache.flink.core.fs.RecoverableWriter.CommitRecoverable |
getRecoverable() |
public OSSCommitter(OSSAccessor ossAccessor, String objectName, String uploadId, List<com.aliyun.oss.model.PartETag> partETags, long totalLength)
public void commit()
throws IOException
commit in interface org.apache.flink.core.fs.RecoverableFsDataOutputStream.CommitterIOExceptionpublic void commitAfterRecovery()
throws IOException
commitAfterRecovery in interface org.apache.flink.core.fs.RecoverableFsDataOutputStream.CommitterIOExceptionpublic org.apache.flink.core.fs.RecoverableWriter.CommitRecoverable getRecoverable()
getRecoverable in interface org.apache.flink.core.fs.RecoverableFsDataOutputStream.CommitterCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.