AdlsClient.GetReadStream Method

Definition

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
System.String

File name

cancelToken
System.Threading.CancellationToken

CancellationToken to cancel the request

Returns

AdlsInputStream

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
System.String

File name

bufferCapacity
System.Int32

Buffer Capacity

cancelToken
System.Threading.CancellationToken

CancellationToken to cancel the request

Returns

AdlsInputStream

Input stream

Applies to