程序包 com.databend.jdbc.cloud

# 类 DatabendPresignClientV1

java.lang.Object
com.databend.jdbc.cloud.DatabendPresignClientV1

所有已实现的接口:
  `DatabendPresignClient`

public class DatabendPresignClientV1 extends Object implements DatabendPresignClient

## 构造器概要

构造器
构造器
说明
`DatabendPresignClientV1(okhttp3.OkHttpClient client, String uri)`

## 方法概要

修饰符和类型
方法
说明
`void`
`presignDownload(String destFileName, okhttp3.Headers headers, String presignedUrl)`
`InputStream`
`presignDownloadStream(okhttp3.Headers headers, String presignedUrl)`
`void`
`presignUpload(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 available
`void`
`presignUpload(File srcFile, InputStream inputStream, okhttp3.Headers headers, String presignedUrl, boolean uploadFromStream)`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## 构造器详细资料

### DatabendPresignClientV1

public DatabendPresignClientV1(okhttp3.OkHttpClient client, String uri)

## 方法详细资料

### presignUpload

public void presignUpload(File srcFile, InputStream inputStream, okhttp3.Headers headers, String presignedUrl, boolean uploadFromStream) throws IOException

指定者:
  `presignUpload` 在接口中 `DatabendPresignClient`
抛出:
  `IOException`

### presignUpload

public void presignUpload(File srcFile, InputStream inputStream, String stageName, String relativePath, String name, boolean uploadFromStream) throws IOException
从接口复制的说明: `DatabendPresignClient`
presignUpload file through databend api instead of presigned url, it should only be adopted if presigned url is not available

指定者:
  `presignUpload` 在接口中 `DatabendPresignClient`
参数:
  `srcFile` - the file to be uploaded
  `inputStream` - the input stream to be uploaded
  `uploadFromStream` - whether the upload is from stream
抛出:
  `IOException`

### presignDownload

public void presignDownload(String destFileName, okhttp3.Headers headers, String presignedUrl)

指定者:
  `presignDownload` 在接口中 `DatabendPresignClient`

### presignDownloadStream

public InputStream presignDownloadStream(okhttp3.Headers headers, String presignedUrl)

指定者:
  `presignDownloadStream` 在接口中 `DatabendPresignClient`