All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.imaginary.sql.msql.TableResults

com.imaginary.sql.msql.MsqlResultSet
   |
   +----com.imaginary.sql.msql.MsqlQueryData
           |
           +----com.imaginary.sql.msql.TableResults

public class TableResults
extends MsqlQueryData
This class represents a ResultSet containing information about the tables in an mSQL database.
Last modified $Date: 1999/07/09 23:16:42 $

Version:
$Revision: 1.1.2.1 $
Author:
George Reese (borg@imaginary.com)

Method Index

 o findColumn(String)
Provides a hard-coded implementation of the superclass' version so that the right columns are loaded.
 o loadMetaData()
Creates a specialized set of result set meta data for this special result set.
 o readRow(byte[])
Provides a row that represents the full range of required JDBC meta data for a table's columns.

Methods

 o findColumn
 public int findColumn(String name) throws SQLException
Provides a hard-coded implementation of the superclass' version so that the right columns are loaded.

Parameters:
name - the name of the desired column
Returns:
the column number for the specified column name
Throws: SQLException
thrown on a read error
Overrides:
findColumn in class MsqlQueryData
 o loadMetaData
 protected ResultSetMetaData loadMetaData() throws SQLException
Creates a specialized set of result set meta data for this special result set.

Overrides:
loadMetaData in class MsqlQueryData
 o readRow
 protected MsqlRow readRow(byte data[]) throws SQLException
Provides a row that represents the full range of required JDBC meta data for a table's columns.

Parameters:
the - row for the specified data
java.sql.SQLException - an error occurred parsing the mSQL data
Returns:
an MsqlRow instance for that row
Overrides:
readRow in class MsqlQueryData

All Packages  Class Hierarchy  This Package  Previous  Next  Index