类 AbstractPFSClient

java.lang.Object
所有已实现的接口:
IFSClient, IObsBucketExtendClient, IObsClient, Closeable, AutoCloseable
直接已知子类:
AbstractFileClient

public abstract class AbstractPFSClient extends AbstractMultipartObjectClient
  • 构造器详细资料

    • AbstractPFSClient

      public AbstractPFSClient()
  • 方法详细资料

    • listContentSummary

      public ListContentSummaryResult listContentSummary(ListContentSummaryRequest request) throws ObsException
      从接口复制的说明: IFSClient
      obtain folder contentSummary
      参数:
      request - Request parameters for obtain folder contentSummary
      返回:
      Response to the request for obtain folder contentSummary
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • renameObject

      public RenameObjectResult renameObject(String bucketName, String objectKey, String newObjectKey) throws ObsException
      从接口复制的说明: IObsClient
      Rename a file or directory. Only the parallel file system supports this interface.
      参数:
      bucketName - Bucket name
      objectKey - File name or directory name
      newObjectKey - Name of the renamed file or directory
      返回:
      Response to the request for renaming a file
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • renameObject

      public RenameObjectResult renameObject(RenameObjectRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Rename a file or directory. Only the parallel file system supports this interface.
      参数:
      request - Parameters of a request for renaming a file
      返回:
      Response to the request for renaming a file
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • truncateObject

      public TruncateObjectResult truncateObject(String bucketName, String objectKey, long newLength) throws ObsException
      从接口复制的说明: IObsClient
      Truncate a file. Only the parallel file system supports this interface.
      参数:
      bucketName - Bucket name
      objectKey - File name
      newLength - Size of the truncated file
      返回:
      Response to the request for truncating a file
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • truncateObject

      public TruncateObjectResult truncateObject(TruncateObjectRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Truncate a file. Only the parallel file system supports this interface.
      参数:
      request - Parameters of a request for truncating a file
      返回:
      Response to the request for truncating a file
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • modifyObject

      public ModifyObjectResult modifyObject(String bucketName, String objectKey, long position, File file) throws ObsException
      从接口复制的说明: IObsClient
      Write a file. Only the parallel file system supports this interface.
      参数:
      bucketName - Bucket name
      objectKey - File name
      position - Start position for writing data to a file
      file - Local file path
      返回:
      Files in the bucket that supports the file interface
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • modifyObject

      public ModifyObjectResult modifyObject(String bucketName, String objectKey, long position, InputStream input) throws ObsException
      从接口复制的说明: IObsClient
      Write a file. Only the parallel file system supports this interface.
      参数:
      bucketName - Bucket name
      objectKey - File name
      position - Start position for writing data to a file
      input - Data stream to be uploaded
      返回:
      Files in the bucket that supports the file interface
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • modifyObject

      public ModifyObjectResult modifyObject(ModifyObjectRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Write a file. Only the parallel file system supports this interface.
      参数:
      request - Request parameters for writing data to a file
      返回:
      Files in the bucket that supports the file interface
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • getAttribute

      public ObsFSAttribute getAttribute(GetAttributeRequest request) throws ObsException
      从接口复制的说明: IFSClient
      Obtain file or folder properties.
      参数:
      request - Request parameters for obtaining filer or folder properties
      返回:
      File or folder properties
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • readFile

      public ReadFileResult readFile(ReadFileRequest request) throws ObsException
      从接口复制的说明: IFSClient
      Obtain the file content.
      参数:
      request - Request parameters for obtaining the file content
      返回:
      Response to the request for obtaining file content
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • appendFile

      public ObsFSFile appendFile(WriteFileRequest request) throws ObsException
      从接口复制的说明: IFSClient
      Append data to a file.
      参数:
      request - Request parameters for writing data to a file
      返回:
      Files in the bucket that supports the file interface
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • renameFile

      public RenameResult renameFile(RenameRequest request) throws ObsException
      从接口复制的说明: IFSClient
      Rename a file.
      参数:
      request - Request parameters for renaming a file
      返回:
      Response to the request for renaming a file
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • renameFolder

      public RenameResult renameFolder(RenameRequest request) throws ObsException
      从接口复制的说明: IFSClient
      Rename a folder.
      参数:
      request - Request parameters for renaming a folder
      返回:
      Response to the request for renaming a folder
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • truncateFile

      public TruncateFileResult truncateFile(TruncateFileRequest request) throws ObsException
      从接口复制的说明: IFSClient
      Truncate a file.
      参数:
      request - Request parameters for truncating a file
      返回:
      Response to the request for truncating a file
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • dropFile

      public DropFileResult dropFile(DropFileRequest request) throws ObsException
      从接口复制的说明: IFSClient
      Delete a file.
      参数:
      request - Request parameters for deleting a file
      返回:
      Response to the request for deleting a file
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • listContentSummaryFs

      public ListContentSummaryFsResult listContentSummaryFs(ListContentSummaryFsRequest request) throws ObsException
      从接口复制的说明: IFSClient
      obtain folder contentSummary
      参数:
      request - Request parameters for obtain folder contentSummary
      返回:
      Response to the request for obtain folder contentSummary
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • getContentSummaryFs

      public ContentSummaryFsResult getContentSummaryFs(ContentSummaryFsRequest request) throws ObsException
      从接口复制的说明: IFSClient
      obtain current folder contentSummary
      参数:
      request - Request parameters for obtain current folder contentSummary
      返回:
      Response to the request for obtain current folder contentSummary
      抛出:
      ObsException - ObsException OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • setAccessLabelFs

      public SetAccessLabelResult setAccessLabelFs(SetAccessLabelRequest request) throws ObsException
      从接口复制的说明: IFSClient
      set access label for a folder s3 protocol is not supported
      参数:
      request - Request parameters for access label setting
      返回:
      Response to the request for access label setting
      抛出:
      ObsException - ObsException OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • getAccessLabelFs

      public GetAccessLabelResult getAccessLabelFs(GetAccessLabelRequest request) throws ObsException
      从接口复制的说明: IFSClient
      get access label of the folder s3 protocol is not supported
      参数:
      request - Request parameters for getting access label
      返回:
      Response to the request for getting access label
      抛出:
      ObsException - ObsException OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • deleteAccessLabelFs

      public DeleteAccessLabelResult deleteAccessLabelFs(DeleteAccessLabelRequest request) throws ObsException
      从接口复制的说明: IFSClient
      delete access label of the folder s3 protocol is not supported
      参数:
      request - Request parameters for deleting access label
      返回:
      Response to the request for deleting access label
      抛出:
      ObsException - ObsException OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails