Class AzureUtilitiesV8
java.lang.Object
org.apache.jackrabbit.oak.segment.azure.v8.AzureUtilitiesV8
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic com.microsoft.azure.storage.blob.CloudBlobDirectory
cloudBlobDirectoryFrom
(com.microsoft.azure.storage.StorageCredentials credentials, String uri, String dir) static com.microsoft.azure.storage.blob.CloudBlobDirectory
cloudBlobDirectoryFrom
(String connection, String containerName, String dir) static void
deleteAllBlobs
(@NotNull com.microsoft.azure.storage.blob.CloudBlobDirectory directory) static void
deleteAllEntries
(com.microsoft.azure.storage.blob.CloudBlobDirectory directory) static List<com.microsoft.azure.storage.blob.CloudBlob>
getBlobs
(com.microsoft.azure.storage.blob.CloudBlobDirectory directory) static String
getName
(com.microsoft.azure.storage.blob.CloudBlob blob) static String
getName
(com.microsoft.azure.storage.blob.CloudBlobDirectory directory) static void
readBufferFully
(com.microsoft.azure.storage.blob.CloudBlob blob, Buffer buffer)
-
Field Details
-
AZURE_ACCOUNT_NAME
- See Also:
-
AZURE_SECRET_KEY
- See Also:
-
AZURE_TENANT_ID
- See Also:
-
AZURE_CLIENT_ID
- See Also:
-
AZURE_CLIENT_SECRET
- See Also:
-
-
Method Details
-
getName
-
getName
-
getBlobs
public static List<com.microsoft.azure.storage.blob.CloudBlob> getBlobs(com.microsoft.azure.storage.blob.CloudBlobDirectory directory) throws IOException - Throws:
IOException
-
readBufferFully
public static void readBufferFully(com.microsoft.azure.storage.blob.CloudBlob blob, Buffer buffer) throws IOException - Throws:
IOException
-
deleteAllEntries
public static void deleteAllEntries(com.microsoft.azure.storage.blob.CloudBlobDirectory directory) throws IOException - Throws:
IOException
-
cloudBlobDirectoryFrom
public static com.microsoft.azure.storage.blob.CloudBlobDirectory cloudBlobDirectoryFrom(com.microsoft.azure.storage.StorageCredentials credentials, String uri, String dir) throws URISyntaxException, com.microsoft.azure.storage.StorageException - Throws:
URISyntaxException
com.microsoft.azure.storage.StorageException
-
cloudBlobDirectoryFrom
public static com.microsoft.azure.storage.blob.CloudBlobDirectory cloudBlobDirectoryFrom(String connection, String containerName, String dir) throws InvalidKeyException, URISyntaxException, com.microsoft.azure.storage.StorageException - Throws:
InvalidKeyException
URISyntaxException
com.microsoft.azure.storage.StorageException
-
deleteAllBlobs
public static void deleteAllBlobs(@NotNull @NotNull com.microsoft.azure.storage.blob.CloudBlobDirectory directory) throws URISyntaxException, com.microsoft.azure.storage.StorageException, InterruptedException - Throws:
URISyntaxException
com.microsoft.azure.storage.StorageException
InterruptedException
-