ReadToFileOptions Class
- java.
lang. Object - com.
azure. storage. file. datalake. options. ReadToFileOptions
- com.
public class ReadToFileOptions
Parameters when calling readToFile() on DataLakeFileClient
Constructor Summary
Constructor | Description |
---|---|
ReadToFileOptions(String filePath) |
Constructs a ReadToFileOptions. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
ReadToFileOptions
public ReadToFileOptions(String filePath)
Constructs a ReadToFileOptions.
Parameters:
Method Details
getDataLakeRequestConditions
public DataLakeRequestConditions getDataLakeRequestConditions()
Gets the DataLakeRequestConditions.
Returns:
getDownloadRetryOptions
getFilePath
public String getFilePath()
Gets the path of the file to download to.
Returns:
getOpenOptions
public Set
Gets the OpenOptions to use to configure how to open or create the file.
Returns:
getParallelTransferOptions
public ParallelTransferOptions getParallelTransferOptions()
Gets the ParallelTransferOptions to use to download to file. Number of parallel transfers parameter is ignored.
Returns:
isRangeGetContentMd5
public Boolean isRangeGetContentMd5()
Gets whether the contentMD5 for the specified file range should be returned.
Returns:
isUserPrincipalName
public Boolean isUserPrincipalName()
Gets the value for the x-ms-upn header.
Returns:
setDataLakeRequestConditions
public ReadToFileOptions setDataLakeRequestConditions(DataLakeRequestConditions dataLakeRequestConditions)
Sets the DataLakeRequestConditions.
Parameters:
Returns:
setDownloadRetryOptions
public ReadToFileOptions setDownloadRetryOptions(DownloadRetryOptions downloadRetryOptions)
Sets the DownloadRetryOptions.
Parameters:
Returns:
setOpenOptions
public ReadToFileOptions setOpenOptions(Set
Sets the OpenOptions to use to configure how to open or create the file.
Parameters:
Returns:
setParallelTransferOptions
public ReadToFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
Sets the ParallelTransferOptions to use to download to file. Number of parallel transfers parameter is ignored.
Parameters:
Returns:
setRange
setRangeGetContentMd5
public ReadToFileOptions setRangeGetContentMd5(Boolean rangeGetContentMd5)
Sets whether the contentMD5 for the specified file range should be returned.
Parameters:
Returns:
setUserPrincipalName
public ReadToFileOptions setUserPrincipalName(Boolean userPrincipalName)
Sets the value for the x-ms-upn header.
Parameters:
Returns: