public class DataLakeFileInputStreamOptions extends Object
| Constructor and Description |
|---|
DataLakeFileInputStreamOptions() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getBlockSize() |
ConsistentReadControl |
getConsistentReadControl() |
FileRange |
getRange() |
DataLakeRequestConditions |
getRequestConditions() |
DataLakeFileInputStreamOptions |
setBlockSize(Integer blockSize) |
DataLakeFileInputStreamOptions |
setConsistentReadControl(ConsistentReadControl consistentReadControl) |
DataLakeFileInputStreamOptions |
setRange(FileRange range) |
DataLakeFileInputStreamOptions |
setRequestConditions(DataLakeRequestConditions requestConditions) |
public DataLakeFileInputStreamOptions setRange(FileRange range)
range - FileRangepublic DataLakeRequestConditions getRequestConditions()
DataLakeRequestConditionspublic DataLakeFileInputStreamOptions setRequestConditions(DataLakeRequestConditions requestConditions)
requestConditions - DataLakeRequestConditionspublic Integer getBlockSize()
public DataLakeFileInputStreamOptions setBlockSize(Integer blockSize)
blockSize - 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.public ConsistentReadControl getConsistentReadControl()
ConsistentReadControl Default is E-Tag.public DataLakeFileInputStreamOptions setConsistentReadControl(ConsistentReadControl consistentReadControl)
consistentReadControl - ConsistentReadControl Default is E-Tag.Copyright © 2021 Microsoft Corporation. All rights reserved.