org.apache.hadoop.fs.cosn.CosNPartListing Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hadoop-cos Show documentation
Show all versions of hadoop-cos Show documentation
This module contains code to support integration with Tencent Cloud COS.
It also declares the dependencies needed to work with COS.
package org.apache.hadoop.fs.cosn;
import com.qcloud.cos.model.PartSummary;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability;
import org.apache.hadoop.fs.NativeFileSystemStore;
import java.util.List;
/**
*
* Holds information of one upload id listing for part summary
* {@link NativeFileSystemStore}.
* This includes the {@link PartSummary part summary}
* (their names) contained in single MPU.
*
*
* @see NativeFileSystemStore#listParts(String, String)
*/
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class CosNPartListing {
private final List partSummaries;
public CosNPartListing(List partSummaries) {
this.partSummaries = partSummaries;
}
public List getPartSummaries() {
return this.partSummaries;
}
}