Class TsvTableSource
TSV (Tab-Separated Values) table source based on Sylvan.Data.Csv.
- Supports header format: "ColumnName : TypeToken".
- Loads schema first, then streams data rows.
Inheritance
TsvTableSource
Assembly: Glitch9.AIDevKit.Sheets.dll
Syntax
public sealed class TsvTableSource : CsvTableSourceBase, ITableSource
Constructors
|
Edit this page
View Source
TsvTableSource(ITableReader, string, int)
Declaration
public TsvTableSource(ITableReader tableReader, string keyColumnName = null, int headerRowIndex = 0)
Parameters
Methods
|
Edit this page
View Source
FromFilePath(string, string, int)
Declaration
public static TsvTableSource FromFilePath(string filePath, string keyColumnName = null, int headerRowIndex = 0)
Parameters
| Type |
Name |
Description |
| string |
filePath |
|
| string |
keyColumnName |
|
| int |
headerRowIndex |
|
Returns
|
Edit this page
View Source
FromTextAsset(TextAsset, string, int)
Declaration
public static TsvTableSource FromTextAsset(TextAsset textAsset, string keyColumnName = null, int headerRowIndex = 0)
Parameters
| Type |
Name |
Description |
| TextAsset |
textAsset |
|
| string |
keyColumnName |
|
| int |
headerRowIndex |
|
Returns
|
Edit this page
View Source
FromUrl(string, string, int)
Declaration
public static TsvTableSource FromUrl(string url, string keyColumnName = null, int headerRowIndex = 0)
Parameters
Returns
Implements
Extension Methods