Beispiel #1
0
 /// <summary>
 ///  Returns metadata of specified table in this keyspace.
 /// </summary>
 /// <param name="tableName"> the name of table to retrieve </param>
 ///
 /// <returns>the metadata for table <code>tableName</code> in this keyspace if it
 ///  exists, <code>null</code> otherwise.</returns>
 public TableMetadata GetTableMetadata(string tableName)
 {
     return(_cc.GetTable(Name, tableName));
 }
 /// <summary>
 ///  Returns TableMetadata for specified table in specified keyspace.
 /// </summary>
 /// <param name="keyspace">name of the keyspace within specified table is definied.</param>
 /// <param name="tableName">name of table for which metadata should be returned.</param>
 /// <returns>a TableMetadata for the specified table in the specified keyspace.</returns>
 public TableMetadata GetTable(string keyspace, string tableName)
 {
     return(_controlConnection.GetTable(keyspace, tableName));
 }