接口 DatabendPresignClient
- 所有已知实现类:
DatabendPresignClientV1
public interface DatabendPresignClient
-
方法概要
修饰符和类型方法说明voidpresignDownload(String destFileName, okhttp3.Headers headers, String presignedUrl) presignDownloadStream(okhttp3.Headers headers, String presignedUrl) voidpresignUpload(File srcFile, InputStream inputStream, String stageName, String relativePath, String name, boolean uploadFromStream) presignUpload file through databend api instead of presigned url, it should only be adopted if presigned url is not availablevoidpresignUpload(File srcFile, InputStream inputStream, okhttp3.Headers headers, String presignedUrl, boolean uploadFromStream)
-
方法详细资料
-
presignUpload
void presignUpload(File srcFile, InputStream inputStream, okhttp3.Headers headers, String presignedUrl, boolean uploadFromStream) throws IOException - 抛出:
IOException
-
presignDownload
-
presignDownloadStream
-
presignUpload
void presignUpload(File srcFile, InputStream inputStream, String stageName, String relativePath, String name, boolean uploadFromStream) throws IOException presignUpload file through databend api instead of presigned url, it should only be adopted if presigned url is not available- 参数:
srcFile- the file to be uploadedinputStream- the input stream to be uploadeduploadFromStream- whether the upload is from stream- 抛出:
IOException
-