Search Results for

    Show / Hide Table of Contents

    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
    object
    CsvTableSourceBase
    TsvTableSource
    Implements
    ITableSource
    Inherited Members
    CsvTableSourceBase.Schema
    CsvTableSourceBase.LoadRowsAsync(CancellationToken)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Sheets
    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
    Type Name Description
    ITableReader tableReader
    string keyColumnName
    int headerRowIndex

    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
    Type Description
    TsvTableSource
    | 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
    Type Description
    TsvTableSource
    | Edit this page View Source

    FromUrl(string, string, int)

    Declaration
    public static TsvTableSource FromUrl(string url, string keyColumnName = null, int headerRowIndex = 0)
    Parameters
    Type Name Description
    string url
    string keyColumnName
    int headerRowIndex
    Returns
    Type Description
    TsvTableSource

    Implements

    ITableSource

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation