DataLakeStoreFileSystemClient.GetStreamRows 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.
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