Enum Class BlobOperationsDefinition
java.lang.Object
java.lang.Enum<BlobOperationsDefinition>
org.apache.camel.component.azure.storage.blob.BlobOperationsDefinition
- All Implemented Interfaces:
Serializable,Comparable<BlobOperationsDefinition>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFrees the specified pages from the page blob.Commits a new block of data to the end of the existing append blob.Writes a blob by specifying the list of block IDs that are to make up the blob.Returns transaction logs of all the changes that occur to the blobs and the blob metadata in your storage account.Creates a 0-length append blob.Creates a new container within a storage account.Creates a page blob of the specified length.Delete a blobDeletes the specified container in the storage account.Downloads the entire blob into a file specified by the path.Generates the download link for the specified blob using shared access signatures (SAS).Get the content of the blob, can be restricted to a blob range.Returns the list of blocks that have been uploaded as part of a block blob using the specified block list filter.Returns transaction logs of all the changes that occur to the blobs and the blob metadata in your storage account.Returns the list of valid page ranges for a page blob or snapshot of a page blob.Returns a list of containers in the storage account.Returns a list of blobs in this container, with folder structures flattened.Resizes the page blob to the specified size (which must be a multiple of 512).Uploads the specified block to the block blob's "staging area" to be later committed by a call to commitBlobBlockList.Creates a new block blob, or updates the content of an existing block blob.Writes one or more pages to the page blob. -
Method Summary
Modifier and TypeMethodDescriptionstatic BlobOperationsDefinitionReturns the enum constant of this class with the specified name.static BlobOperationsDefinition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
listBlobContainers
Returns a list of containers in the storage account. -
createBlobContainer
Creates a new container within a storage account. If a container with the same name already exists, the producer will ignore it. -
deleteBlobContainer
Deletes the specified container in the storage account. If the container doesn't exist the operation fails. -
listBlobs
Returns a list of blobs in this container, with folder structures flattened. -
getBlob
Get the content of the blob, can be restricted to a blob range. -
deleteBlob
Delete a blob -
downloadBlobToFile
Downloads the entire blob into a file specified by the path. The file will be created and must not exist, if the file already exists aFileAlreadyExistsExceptionwill be thrown. -
downloadLink
Generates the download link for the specified blob using shared access signatures (SAS). This by default only limit to 1hour of allowed access. However, you can override the default expiration duration through the headers. -
uploadBlockBlob
Creates a new block blob, or updates the content of an existing block blob. Updating an existing block blob overwrites any existing metadata on the blob. Partial updates are not supported with PutBlob; the content of the existing blob is overwritten with the new content. -
stageBlockBlobList
Uploads the specified block to the block blob's "staging area" to be later committed by a call to commitBlobBlockList. However in case header `CamelAzureStorageBlobCommitBlobBlockListLater` is set to false, this will also commit the blocks. -
commitBlobBlockList
Writes a blob by specifying the list of block IDs that are to make up the blob. In order to be written as part of a blob, a block must have been successfully written to the server in a prior `stageBlockBlobList` operation. You can call `commitBlobBlockList` to update a blob by uploading only those blocks that have changed, then committing the new and existing blocks together. Any blocks not specified in the block list and permanently deleted. -
getBlobBlockList
Returns the list of blocks that have been uploaded as part of a block blob using the specified block list filter. -
createAppendBlob
Creates a 0-length append blob. Call commitAppendBlo`b operation to append data to an append blob. -
commitAppendBlob
Commits a new block of data to the end of the existing append blob. In case of header `CamelAzureStorageBlobAppendBlobCreated` is set to false, it will attempt to create the appendBlob through internal call to `createAppendBlob` operation. -
createPageBlob
Creates a page blob of the specified length. Call `uploadPageBlob` operation to upload data data to a page blob. -
uploadPageBlob
Writes one or more pages to the page blob. The write size must be a multiple of 512. In case of header `CamelAzureStorageBlobPageBlockCreated` is set to false, it will attempt to create the appendBlob through internal call to `createPageBlob` operation. -
resizePageBlob
Resizes the page blob to the specified size (which must be a multiple of 512). -
clearPageBlob
Frees the specified pages from the page blob. The size of the range must be a multiple of 512. -
getPageBlobRanges
Returns the list of valid page ranges for a page blob or snapshot of a page blob. -
getChangeFeed
Returns transaction logs of all the changes that occur to the blobs and the blob metadata in your storage account. The change feed provides ordered, guaranteed, durable, immutable, read-only log of these changes. -
copyBlob
Returns transaction logs of all the changes that occur to the blobs and the blob metadata in your storage account. The change feed provides ordered, guaranteed, durable, immutable, read-only log of these changes.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-