AdlsClient.GetReadStream Method
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.
Overloads
GetReadStream(String, CancellationToken) |
Synchronous API that returns the stream to read data from file in ADLS |
GetReadStream(String, Int32, CancellationToken) |
Synchronous API that returns the stream to read data from file in ADLS |
GetReadStream(String, CancellationToken)
Synchronous API that returns the stream to read data from file in ADLS
public virtual Microsoft.Azure.DataLake.Store.AdlsInputStream GetReadStream (string filename, System.Threading.CancellationToken cancelToken = default);
abstract member GetReadStream : string * System.Threading.CancellationToken -> Microsoft.Azure.DataLake.Store.AdlsInputStream
override this.GetReadStream : string * System.Threading.CancellationToken -> Microsoft.Azure.DataLake.Store.AdlsInputStream
Public Overridable Function GetReadStream (filename As String, Optional cancelToken As CancellationToken = Nothing) As AdlsInputStream
Parameters
- filename
- String
File name
- cancelToken
- CancellationToken
CancellationToken to cancel the request
Returns
Input stream
Applies to
GetReadStream(String, Int32, CancellationToken)
Synchronous API that returns the stream to read data from file in ADLS
public virtual Microsoft.Azure.DataLake.Store.AdlsInputStream GetReadStream (string filename, int bufferCapacity, System.Threading.CancellationToken cancelToken = default);
abstract member GetReadStream : string * int * System.Threading.CancellationToken -> Microsoft.Azure.DataLake.Store.AdlsInputStream
override this.GetReadStream : string * int * System.Threading.CancellationToken -> Microsoft.Azure.DataLake.Store.AdlsInputStream
Public Overridable Function GetReadStream (filename As String, bufferCapacity As Integer, Optional cancelToken As CancellationToken = Nothing) As AdlsInputStream
Parameters
- filename
- String
File name
- bufferCapacity
- Int32
Buffer Capacity
- cancelToken
- CancellationToken
CancellationToken to cancel the request
Returns
Input stream
Applies to
Azure SDK for .NET