DataLakeFileOutputStreamOptions Class

  • java.lang.Object
    • com.azure.storage.file.datalake.options.DataLakeFileOutputStreamOptions

public class DataLakeFileOutputStreamOptions

Extended options that may be passed when opening an output stream to a file.

Constructor Summary

Constructor Description
DataLakeFileOutputStreamOptions()

Creates a new instance of DataLakeFileOutputStreamOptions.

Method Summary

Modifier and Type Method and Description
AccessTier getAccessTier()

Gets the AccessTier.

PathHttpHeaders getHeaders()

Gets the PathHttpHeaders.

Map<String,String> getMetadata()

Gets the metadata to associate with the file.

ParallelTransferOptions getParallelTransferOptions()

Gets the ParallelTransferOptions.

DataLakeRequestConditions getRequestConditions()

Gets the DataLakeRequestConditions.

Map<String,String> getTags()

Gets the tags to associate with the file.

DataLakeFileOutputStreamOptions setAccessTier(AccessTier tier)

Sets the AccessTier.

DataLakeFileOutputStreamOptions setHeaders(PathHttpHeaders headers)

Sets the PathHttpHeaders.

DataLakeFileOutputStreamOptions setMetadata(Map<String,String> metadata)

Sets the metadata to associate with the file.

DataLakeFileOutputStreamOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)

Sets the ParallelTransferOptions.

DataLakeFileOutputStreamOptions setRequestConditions(DataLakeRequestConditions requestConditions)

Sets the DataLakeRequestConditions.

DataLakeFileOutputStreamOptions setTags(Map<String,String> tags)

Sets the tags to associate with the file.

Methods inherited from java.lang.Object

Constructor Details

DataLakeFileOutputStreamOptions

public DataLakeFileOutputStreamOptions()

Creates a new instance of DataLakeFileOutputStreamOptions.

Method Details

getAccessTier

public AccessTier getAccessTier()

Gets the AccessTier.

Returns:

getHeaders

public PathHttpHeaders getHeaders()

Gets the PathHttpHeaders.

Returns:

getMetadata

public Map getMetadata()

Gets the metadata to associate with the file.

Returns:

The metadata to associate with the file.

getParallelTransferOptions

public ParallelTransferOptions getParallelTransferOptions()

Gets the ParallelTransferOptions.

Returns:

getRequestConditions

public DataLakeRequestConditions getRequestConditions()

Gets the DataLakeRequestConditions.

Returns:

getTags

public Map getTags()

Gets the tags to associate with the file.

Returns:

The tags to associate with the file.

setAccessTier

public DataLakeFileOutputStreamOptions setAccessTier(AccessTier tier)

Sets the AccessTier.

Parameters:

tier - AccessTier

Returns:

The updated options.

setHeaders

public DataLakeFileOutputStreamOptions setHeaders(PathHttpHeaders headers)

Sets the PathHttpHeaders.

Parameters:

headers - PathHttpHeaders

Returns:

The updated options.

setMetadata

public DataLakeFileOutputStreamOptions setMetadata(Map metadata)

Sets the metadata to associate with the file.

Parameters:

metadata - The metadata to associate with the file.

Returns:

The updated options

setParallelTransferOptions

public DataLakeFileOutputStreamOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)

Sets the ParallelTransferOptions.

Parameters:

parallelTransferOptions - ParallelTransferOptions

Returns:

The updated options.

setRequestConditions

public DataLakeFileOutputStreamOptions setRequestConditions(DataLakeRequestConditions requestConditions)

Sets the DataLakeRequestConditions.

Parameters:

requestConditions - DataLakeRequestConditions

Returns:

The updated options.

setTags

public DataLakeFileOutputStreamOptions setTags(Map tags)

Sets the tags to associate with the file.

Parameters:

tags - The tags to associate with the file.

Returns:

The updated options.

Applies to