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

DataLakeStoreFileSystemClient.GetStreamRows Method

Definition

Gets the rows from head or tail

public System.Collections.Generic.IEnumerable<string> GetStreamRows (string streamPath, string accountName, int numRows, System.Text.Encoding encoding, bool reverse = false);
member this.GetStreamRows : string * string * int * System.Text.Encoding * bool -> seq<string>
Public Function GetStreamRows (streamPath As String, accountName As String, numRows As Integer, encoding As Encoding, Optional reverse As Boolean = false) As IEnumerable(Of String)

Parameters

streamPath
String

File path

accountName
String

Account name

numRows
Int32

Number of rows user wants to see

encoding
Encoding

Encoding

reverse
Boolean

True if we are reading from tail else

Returns

List of lines

Applies to