Tabnine Logo
BlockBlobURL.commitBlockList
Code IndexAdd Tabnine to your IDE (free)

How to use
commitBlockList
method
in
com.microsoft.azure.storage.blob.BlockBlobURL

Best Java code snippets using com.microsoft.azure.storage.blob.BlockBlobURL.commitBlockList (Showing top 4 results out of 315)

origin: com.microsoft.azure/azure-storage-blob

/**
 * 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 stageBlock operation. You can call commitBlockList 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.
 * For more information, see the
 * <a href="https://docs.microsoft.com/rest/api/storageservices/put-block-list">Azure Docs</a>.
 * <p>
 * For more efficient bulk-upload scenarios, please refer to the {@link TransferManager} for convenience methods.
 *
 * @param base64BlockIDs
 *         A list of base64 encode {@code String}s that specifies the block IDs to be committed.
 *
 * @return Emits the successful response.
 *
 * @apiNote ## Sample Code \n
 * [!code-java[Sample_Code](../azure-storage-java/src/test/java/com/microsoft/azure/storage/Samples.java?name=blocks "Sample code for BlockBlobURL.commitBlockList")] \n
 * For more samples, please see the [Samples file](%https://github.com/Azure/azure-storage-java/blob/master/src/test/java/com/microsoft/azure/storage/Samples.java)
 */
public Single<BlockBlobCommitBlockListResponse> commitBlockList(List<String> base64BlockIDs) {
  return this.commitBlockList(base64BlockIDs, null, null, null, null);
}
origin: Azure/azure-storage-java

/**
 * 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 stageBlock operation. You can call commitBlockList 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.
 * For more information, see the
 * <a href="https://docs.microsoft.com/rest/api/storageservices/put-block-list">Azure Docs</a>.
 * <p>
 * For more efficient bulk-upload scenarios, please refer to the {@link TransferManager} for convenience methods.
 *
 * @param base64BlockIDs
 *         A list of base64 encode {@code String}s that specifies the block IDs to be committed.
 *
 * @return Emits the successful response.
 *
 * @apiNote ## Sample Code \n
 * [!code-java[Sample_Code](../azure-storage-java/src/test/java/com/microsoft/azure/storage/Samples.java?name=blocks "Sample code for BlockBlobURL.commitBlockList")] \n
 * For more samples, please see the [Samples file](%https://github.com/Azure/azure-storage-java/blob/master/src/test/java/com/microsoft/azure/storage/Samples.java)
 */
public Single<BlockBlobCommitBlockListResponse> commitBlockList(List<String> base64BlockIDs) {
  return this.commitBlockList(base64BlockIDs, null, null, null, null);
}
origin: com.microsoft.azure/azure-storage-blob

blockBlobURL.commitBlockList(ids, optionsReal.httpHeaders(), optionsReal.metadata(),
    optionsReal.accessConditions(), null))
origin: Azure/azure-storage-java

blockBlobURL.commitBlockList(ids, optionsReal.httpHeaders(), optionsReal.metadata(),
    optionsReal.accessConditions(), null))
com.microsoft.azure.storage.blobBlockBlobURLcommitBlockList

Javadoc

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 stageBlock operation. You can call commitBlockList 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. For more information, see the Azure Docs.

For more efficient bulk-upload scenarios, please refer to the TransferManager for convenience methods.

Popular methods of BlockBlobURL

  • <init>
    Creates a BlockBlobURL object pointing to the account specified by the URL and using the provided pi
  • delete
  • download
  • getBlockList
    Returns the list of blocks that have been uploaded as part of a block blob using the specified block
  • stageBlock
    Uploads the specified block to the block blob's "staging area" to be later committed by a call to co
  • stageBlockFromURL
    Creates a new block to be committed as part of a blob where the contents are read from a URL. For mo
  • toURL
  • upload
    Creates a new block blob, or updates the content of an existing block blob. Updating an existing blo

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (Timer)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JPanel (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now