public class BlobInputStreamOptions extends Object
Constructor and Description |
---|
BlobInputStreamOptions() |
Modifier and Type | Method and Description |
---|---|
Integer |
getBlockSize() |
ConsistentReadControl |
getConsistentReadControl() |
BlobRange |
getRange() |
BlobRequestConditions |
getRequestConditions() |
BlobInputStreamOptions |
setBlockSize(Integer blockSize) |
BlobInputStreamOptions |
setConsistentReadControl(ConsistentReadControl consistentReadControl) |
BlobInputStreamOptions |
setRange(BlobRange range) |
BlobInputStreamOptions |
setRequestConditions(BlobRequestConditions requestConditions) |
public BlobInputStreamOptions setRange(BlobRange range)
range
- BlobRange
public BlobRequestConditions getRequestConditions()
BlobRequestConditions
public BlobInputStreamOptions setRequestConditions(BlobRequestConditions requestConditions)
requestConditions
- BlobRequestConditions
public Integer getBlockSize()
public BlobInputStreamOptions setBlockSize(Integer blockSize)
blockSize
- The size of each data chunk returned from the service. If block size is large, input stream
will make fewer network calls, but each individual call will send more data and will therefore take longer.
The default value is 4 MB.public ConsistentReadControl getConsistentReadControl()
ConsistentReadControl
Default is E-Tag.public BlobInputStreamOptions setConsistentReadControl(ConsistentReadControl consistentReadControl)
consistentReadControl
- ConsistentReadControl
Default is E-Tag.Copyright © 2021 Microsoft Corporation. All rights reserved.