你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AdlsClient.GetReadStream 方法

定义

重载

GetReadStream(String, CancellationToken)

返回流以从 ADLS 中的文件读取数据的同步 API

GetReadStream(String, Int32, CancellationToken)

返回流以从 ADLS 中的文件读取数据的同步 API

GetReadStream(String, CancellationToken)

返回流以从 ADLS 中的文件读取数据的同步 API

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

参数

filename
String

文件名

cancelToken
CancellationToken

取消取消请求的 CancellationToken

返回

输入流

适用于

GetReadStream(String, Int32, CancellationToken)

返回流以从 ADLS 中的文件读取数据的同步 API

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

参数

filename
String

文件名

bufferCapacity
Int32

缓冲区容量

cancelToken
CancellationToken

取消取消请求的 CancellationToken

返回

输入流

适用于