Interface AzureStorageConnector
- All Superinterfaces:
AutoCloseable
,BlobStoreConnector
- All Known Implementing Classes:
AzureStorageConnector.Default
public interface AzureStorageConnector extends BlobStoreConnector
Connector for the Azure blob storage.
First create a BlobServiceClient.
BlobServiceClient serviceClient = ... BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New( AzureStorageConnector.New(serviceClient) );
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AzureStorageConnector.Default
Nested classes/interfaces inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
BlobStoreConnector.Abstract<B>
-
Method Summary
Static Methods Modifier and Type Method Description static AzureStorageConnector
Caching(com.azure.storage.blob.BlobServiceClient serviceClient)
Pseudo-constructor method which creates a newAzureStorageConnector
with cache.static AzureStorageConnector
New(com.azure.storage.blob.BlobServiceClient serviceClient)
Pseudo-constructor method which creates a newAzureStorageConnector
.Methods inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
close, copyFile, createDirectory, createFile, deleteFile, directoryExists, fileExists, fileSize, moveFile, readData, readData, truncateFile, visitChildren, writeData
-
Method Details
-
New
Pseudo-constructor method which creates a newAzureStorageConnector
.- Parameters:
serviceClient
- connection to the Azure storage service- Returns:
- a new
AzureStorageConnector
-
Caching
Pseudo-constructor method which creates a newAzureStorageConnector
with cache.- Parameters:
serviceClient
- connection to the Azure storage service- Returns:
- a new
AzureStorageConnector
-