Class AzureUtilities
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.azure.AzureUtilities
-
public final class AzureUtilities extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
AZURE_ACCOUNT_NAME
static String
AZURE_CLIENT_ID
static String
AZURE_CLIENT_SECRET
static String
AZURE_SECRET_KEY
static String
AZURE_TENANT_ID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
deleteAllEntries(com.azure.storage.blob.BlobContainerClient blobContainerClient, com.azure.storage.blob.models.ListBlobsOptions listBlobsOptions)
static List<com.azure.storage.blob.models.BlobItem>
getBlobs(com.azure.storage.blob.BlobContainerClient blobContainerClient, com.azure.storage.blob.models.ListBlobsOptions listOptions)
static String
getName(com.azure.storage.blob.models.BlobItem blob)
static String
getName(com.azure.storage.blob.specialized.AppendBlobClient blob)
static void
readBufferFully(com.azure.storage.blob.specialized.BlockBlobClient blob, Buffer buffer)
-
-
-
Field Detail
-
AZURE_ACCOUNT_NAME
public static final String AZURE_ACCOUNT_NAME
- See Also:
- Constant Field Values
-
AZURE_SECRET_KEY
public static final String AZURE_SECRET_KEY
- See Also:
- Constant Field Values
-
AZURE_TENANT_ID
public static final String AZURE_TENANT_ID
- See Also:
- Constant Field Values
-
AZURE_CLIENT_ID
public static final String AZURE_CLIENT_ID
- See Also:
- Constant Field Values
-
AZURE_CLIENT_SECRET
public static final String AZURE_CLIENT_SECRET
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public static String getName(com.azure.storage.blob.models.BlobItem blob)
-
getName
public static String getName(com.azure.storage.blob.specialized.AppendBlobClient blob)
-
getBlobs
public static List<com.azure.storage.blob.models.BlobItem> getBlobs(com.azure.storage.blob.BlobContainerClient blobContainerClient, com.azure.storage.blob.models.ListBlobsOptions listOptions)
-
readBufferFully
public static void readBufferFully(com.azure.storage.blob.specialized.BlockBlobClient blob, Buffer buffer) throws IOException
- Throws:
IOException
-
deleteAllEntries
public static void deleteAllEntries(com.azure.storage.blob.BlobContainerClient blobContainerClient, com.azure.storage.blob.models.ListBlobsOptions listBlobsOptions)
-
-