public class Highlevel
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Highlevel.UploadToBlockBlobOptions |
Constructor and Description |
---|
Highlevel() |
Modifier and Type | Method and Description |
---|---|
static io.reactivex.Single<CommonRestResponse> |
uploadByteBuffersToBlockBlob(java.lang.Iterable<java.nio.ByteBuffer> data,
BlockBlobURL blockBlobURL,
Highlevel.UploadToBlockBlobOptions options)
Uploads an iterable of ByteBuffers to a block blob.
|
static io.reactivex.Single<CommonRestResponse> |
uploadByteBufferToBlockBlob(java.nio.ByteBuffer data,
BlockBlobURL blockBlobURL,
int blockLength,
Highlevel.UploadToBlockBlobOptions options)
Uploads a large ByteBuffer to a block blob in parallel, breaking it up into block-size chunks if necessary.
|
static io.reactivex.Single<CommonRestResponse> |
uploadFileToBlockBlob(java.nio.channels.FileChannel file,
BlockBlobURL blockBlobURL,
int blockLength,
Highlevel.UploadToBlockBlobOptions options)
Uploads the contents of a file to a block blob in parallel, breaking it into block-size chunks if necessary.
|
public static io.reactivex.Single<CommonRestResponse> uploadFileToBlockBlob(java.nio.channels.FileChannel file, BlockBlobURL blockBlobURL, int blockLength, Highlevel.UploadToBlockBlobOptions options)
file
- The file to upload.blockBlobURL
- A BlockBlobURL
that points to the blob to which the data should be uploaded.blockLength
- If the data must be broken up into blocks, this value determines what size those blocks will be. This will
affect the total number of service requests made. This value will be ignored if the data can be uploaded in
a single put-blob operation.options
- A Highlevel.UploadToBlockBlobOptions
object to configure the upload behavior.Single
that will return a CommonRestResponse
if successful.public static io.reactivex.Single<CommonRestResponse> uploadByteBufferToBlockBlob(java.nio.ByteBuffer data, BlockBlobURL blockBlobURL, int blockLength, Highlevel.UploadToBlockBlobOptions options)
data
- The buffer to upload.blockBlobURL
- A BlockBlobURL
that points to the blob to which the data should be uploaded.blockLength
- If the data must be broken up into blocks, this value determines what size those blocks will be. This will
affect the total number of service requests made. This value will be ignored if the data can be uploaded in
a single put-blob operation.options
- A Highlevel.UploadToBlockBlobOptions
object to configure the upload behavior.Single
that will return a CommonRestResponse
if successful.public static io.reactivex.Single<CommonRestResponse> uploadByteBuffersToBlockBlob(java.lang.Iterable<java.nio.ByteBuffer> data, BlockBlobURL blockBlobURL, Highlevel.UploadToBlockBlobOptions options)
data
- A Iterable
of ByteBuffer
that contains the data to upload.blockBlobURL
- A BlockBlobURL
that points to the blob to which the data should be uploaded.options
- A Highlevel.UploadToBlockBlobOptions
object to configure the upload behavior.Single
that will return a CommonRestResponse
if successful.