BlobInputStreamOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlobInputStreamOptions
- com.
public class BlobInputStreamOptions
Extended options that may be passed when opening a blob input stream.
Constructor Summary
| Constructor | Description |
|---|---|
| BlobInputStreamOptions() |
Creates a new instance of BlobInputStreamOptions. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
BlobInputStreamOptions
public BlobInputStreamOptions()
Creates a new instance of BlobInputStreamOptions.
Method Details
getBlockSize
public Integer getBlockSize()
Gets 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:
getConsistentReadControl
public ConsistentReadControl getConsistentReadControl()
Gets the ConsistentReadControl Default is E-Tag.
Returns:
getContentValidationAlgorithm
public ContentValidationAlgorithm getContentValidationAlgorithm()
Gets the algorithm to use for transfer content validation on the response. See ContentValidationAlgorithm for more details.
Returns:
getRequestConditions
setBlockSize
public BlobInputStreamOptions setBlockSize(Integer blockSize)
Sets 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.
Parameters:
Returns:
setConsistentReadControl
public BlobInputStreamOptions setConsistentReadControl(ConsistentReadControl consistentReadControl)
Sets the ConsistentReadControl Default is E-Tag.
Parameters:
Returns:
setContentValidationAlgorithm
public BlobInputStreamOptions setContentValidationAlgorithm(ContentValidationAlgorithm contentValidationAlgorithm)
Sets the algorithm to use for transfer content validation on the response. See ContentValidationAlgorithm for more details.
Parameters:
Returns:
setRange
setRequestConditions
public BlobInputStreamOptions setRequestConditions(BlobRequestConditions requestConditions)
Sets the BlobRequestConditions.
Parameters:
Returns: