Class AzureStorageClient
- java.lang.Object
-
- io.milvus.bulkwriter.storage.client.AzureStorageClient
-
- All Implemented Interfaces:
StorageClient
public class AzureStorageClient extends Object implements StorageClient
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckBucketExist(String bucketName)LonggetObjectEntity(String bucketName, String objectKey)static AzureStorageClientgetStorageClient(String connStr, String accountUrl, com.azure.core.credential.TokenCredential credential)voidputObjectStream(InputStream inputStream, long contentLength, String bucketName, String objectKey)
-
-
-
Method Detail
-
getStorageClient
public static AzureStorageClient getStorageClient(String connStr, String accountUrl, com.azure.core.credential.TokenCredential credential)
-
getObjectEntity
public Long getObjectEntity(String bucketName, String objectKey)
- Specified by:
getObjectEntityin interfaceStorageClient
-
putObjectStream
public void putObjectStream(InputStream inputStream, long contentLength, String bucketName, String objectKey)
- Specified by:
putObjectStreamin interfaceStorageClient
-
checkBucketExist
public boolean checkBucketExist(String bucketName)
- Specified by:
checkBucketExistin interfaceStorageClient
-
-