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