Package com.azure.storage.blob.options
Class BlobInputStreamOptions
java.lang.Object
com.azure.storage.blob.options.BlobInputStreamOptions
Extended options that may be passed when opening a blob input stream.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRange()
setBlockSize
(Integer blockSize) setConsistentReadControl
(ConsistentReadControl consistentReadControl) setRequestConditions
(BlobRequestConditions requestConditions)
-
Constructor Details
-
BlobInputStreamOptions
public BlobInputStreamOptions()
-
-
Method Details
-
getRange
- Returns:
BlobRange
-
setRange
- Parameters:
range
-BlobRange
- Returns:
- The updated options.
-
getRequestConditions
- Returns:
BlobRequestConditions
-
setRequestConditions
- Parameters:
requestConditions
-BlobRequestConditions
- Returns:
- The updated options.
-
getBlockSize
- Returns:
- 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.
-
setBlockSize
- Parameters:
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.- Returns:
- The updated options.
-
getConsistentReadControl
- Returns:
ConsistentReadControl
Default is E-Tag.
-
setConsistentReadControl
- Parameters:
consistentReadControl
-ConsistentReadControl
Default is E-Tag.- Returns:
- The updated options.
-