FileParallelUploadOptions Class
- java.
lang. Object - com.
azure. storage. file. datalake. options. FileParallelUploadOptions
- com.
public class FileParallelUploadOptions
Extended options that may be passed when uploading a file in parallel.
Constructor Summary
Constructor | Description |
---|---|
FileParallelUploadOptions(BinaryData data) |
Constructs a new |
FileParallelUploadOptions(InputStream dataStream) |
Constructs a new |
FileParallelUploadOptions(InputStream dataStream, long length) |
Deprecated
length is no longer necessary; use FileParallelUploadOptions(InputStream dataStream) instead.
Constructs a new |
FileParallelUploadOptions(Flux<ByteBuffer> dataFlux) |
Constructs a new |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
FileParallelUploadOptions
public FileParallelUploadOptions(BinaryData data)
Constructs a new FileParallelUploadOptions
.
Parameters:
FileParallelUploadOptions
public FileParallelUploadOptions(InputStream dataStream)
Constructs a new FileParallelUploadOptions
.
Parameters:
FileParallelUploadOptions
@Deprecated
public FileParallelUploadOptions(InputStream dataStream, long length)
Deprecated
Constructs a new FileParallelUploadOptions
. Use FileParallelUploadOptions(InputStream dataStream) instead to supply an InputStream without knowing the exact length beforehand.
Parameters:
FileParallelUploadOptions
public FileParallelUploadOptions(Flux
Constructs a new FileParallelUploadOptions
.
Parameters:
Flux
be replayable. In other words, it does not have to support multiple subscribers and is not
expected to produce the same values across subscriptions.
Method Details
getData
public BinaryData getData()
Gets the data source.
Returns:
getDataFlux
public Flux
Gets the data source.
Returns:
getDataStream
public InputStream getDataStream()
Gets the data source.
Returns:
getEncryptionContext
public String getEncryptionContext()
Encryption context that is set on the file.
Returns:
getHeaders
getLength
@Deprecated
public long getLength()
Deprecated
Gets the length of the data.
Returns:
getMetadata
public Map
Gets the metadata.
Returns:
getOptionalLength
public Long getOptionalLength()
Gets the length of the data.
Returns:
getParallelTransferOptions
public ParallelTransferOptions getParallelTransferOptions()
Gets the ParallelTransferOptions.
Returns:
getPermissions
public String getPermissions()
Gets the permissions.
Returns:
getRequestConditions
public DataLakeRequestConditions getRequestConditions()
Gets the DataLakeRequestConditions.
Returns:
getUmask
public String getUmask()
Gets the umask.
Returns:
setEncryptionContext
public FileParallelUploadOptions setEncryptionContext(String encryptionContext)
Optional encryption context that can be set on the file. Encryption context is intended to store metadata that can be used to decrypt the blob.
Parameters:
Returns:
setHeaders
public FileParallelUploadOptions setHeaders(PathHttpHeaders headers)
Sets the PathHttpHeaders.
Parameters:
Returns:
setMetadata
public FileParallelUploadOptions setMetadata(Map
Sets the metadata.
Parameters:
Returns:
setParallelTransferOptions
public FileParallelUploadOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
Sets the ParallelTransferOptions.
Parameters:
Returns:
setPermissions
public FileParallelUploadOptions setPermissions(String permissions)
Sets the permissions.
Parameters:
Returns:
setRequestConditions
public FileParallelUploadOptions setRequestConditions(DataLakeRequestConditions requestConditions)
Sets the DataLakeRequestConditions.
Parameters:
Returns:
setUmask
public FileParallelUploadOptions setUmask(String umask)
Sets the umask.
Parameters:
Returns:
Applies to
Azure SDK for Java