34 lines
918 B
C#
34 lines
918 B
C#
using System;
|
|
using System.Collections;
|
|
|
|
namespace BCG
|
|
{
|
|
/// <summary>
|
|
/// Represents a schema for the table, which can be indexed either with the column name or
|
|
/// the index of the column
|
|
/// </summary>
|
|
public interface IBlueTableSchema : ISerializedType
|
|
{
|
|
/// <summary>
|
|
/// index w.r.t. the ordinal
|
|
/// </summary>
|
|
ColumnInfo this[int index]{get;}
|
|
/// <summary>
|
|
/// index w.r.t. column name
|
|
/// </summary>
|
|
ColumnInfo this[string colName]{get;}
|
|
/// <summary>
|
|
/// Utility method to get all the column names
|
|
/// </summary>
|
|
string[] columnNames {get;}
|
|
/// <summary>
|
|
/// Utility method to get all the info about all the columns
|
|
/// </summary>
|
|
ColumnInfo[] columnInfo{get;}
|
|
/// <summary>
|
|
/// Name of the table, whose schema it holds
|
|
/// </summary>
|
|
string tableName {get;}
|
|
}
|
|
}
|