共用方式為


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()

Method Summary

Modifier and Type Method and Description
AccessTier getAccessTier()
PathHttpHeaders getHeaders()
Map<String,String> getMetadata()
ParallelTransferOptions getParallelTransferOptions()
DataLakeRequestConditions getRequestConditions()
Map<String,String> getTags()
DataLakeFileOutputStreamOptions setAccessTier(AccessTier tier)
DataLakeFileOutputStreamOptions setHeaders(PathHttpHeaders headers)
DataLakeFileOutputStreamOptions setMetadata(Map<String,String> metadata)
DataLakeFileOutputStreamOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
DataLakeFileOutputStreamOptions setRequestConditions(DataLakeRequestConditions requestConditions)
DataLakeFileOutputStreamOptions setTags(Map<String,String> tags)

Methods inherited from java.lang.Object

Constructor Details

DataLakeFileOutputStreamOptions

public DataLakeFileOutputStreamOptions()

Method Details

getAccessTier

public AccessTier getAccessTier()

Returns:

getHeaders

public PathHttpHeaders getHeaders()

Returns:

getMetadata

public Map getMetadata()

Returns:

The metadata to associate with the file.

getParallelTransferOptions

public ParallelTransferOptions getParallelTransferOptions()

Returns:

getRequestConditions

public DataLakeRequestConditions getRequestConditions()

Returns:

getTags

public Map getTags()

Returns:

The tags to associate with the file.

setAccessTier

public DataLakeFileOutputStreamOptions setAccessTier(AccessTier tier)

Parameters:

tier - AccessTier

Returns:

The updated options.

setHeaders

public DataLakeFileOutputStreamOptions setHeaders(PathHttpHeaders headers)

Parameters:

headers - PathHttpHeaders

Returns:

The updated options.

setMetadata

public DataLakeFileOutputStreamOptions setMetadata(Map metadata)

Parameters:

metadata - The metadata to associate with the file.

Returns:

The updated options

setParallelTransferOptions

public DataLakeFileOutputStreamOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)

Parameters:

parallelTransferOptions - ParallelTransferOptions

Returns:

The updated options.

setRequestConditions

public DataLakeFileOutputStreamOptions setRequestConditions(DataLakeRequestConditions requestConditions)

Parameters:

requestConditions - DataLakeRequestConditions

Returns:

The updated options.

setTags

public DataLakeFileOutputStreamOptions setTags(Map tags)

Parameters:

tags - The tags to associate with the file.

Returns:

The updated options.

Applies to