DataLakeOpenReadOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Optional parameters for OpenReadAsync(DataLakeOpenReadOptions, CancellationToken)
public class DataLakeOpenReadOptions
type DataLakeOpenReadOptions = class
Public Class DataLakeOpenReadOptions
- Inheritance
-
DataLakeOpenReadOptions
Constructors
| Name | Description |
|---|---|
| DataLakeOpenReadOptions(Boolean) |
Constructor. |
Properties
| Name | Description |
|---|---|
| BufferSize |
The buffer size (in bytes) to use when the stream downloads parts of the file. Defaults to 4 MB. |
| Conditions |
Optional DataLakeRequestConditions to add conditions on the download of the file. |
| LayoutAwareRouting |
Determines whether locality-aware routing is used for the buffered range requests issued by the returned read stream. When enabled, the file's layout is fetched on demand and cached (with automatic background refresh), and each range download is routed to the optimal endpoint for the chunk being read. This is a performance optimization only - the bytes returned are identical to a non-locality-aware download. Defaults to Auto, which currently disables locality-aware routing; set to Enabled to opt in. |
| Position |
The position within the file to begin the stream. Defaults to the beginning of the file. |
| TransferValidation |
Optional override settings for this client's TransferValidation settings. |