다음을 통해 공유


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