EspressReport 6.6

quadbase.util
Interface IRSMetaData

All Known Implementing Classes:
QueryResultSet, SalesForceResultSet, StreamResultSet

public interface IRSMetaData

This interface describes the structure of a tabular data set represented by an IResultSet interface.

See Also:
IResultSet

Method Summary
 int getColumnCount()
          Gets the number of columns in the result set.
 java.lang.String getColumnName(int col)
          Gets the name of a column in the result set.
 int getColumnType(int col)
          Gets the data type of a column in the result set.
 java.lang.String getTableName(int col)
           
 

Method Detail

getColumnCount

int getColumnCount()
                   throws java.lang.Exception
Gets the number of columns in the result set.

Throws:
java.lang.Exception

getColumnName

java.lang.String getColumnName(int col)
                               throws java.lang.Exception
Gets the name of a column in the result set.

Parameters:
the - column index (beginning with 1)
Returns:
col the column name
Throws:
java.lang.Exception

getTableName

java.lang.String getTableName(int col)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getColumnType

int getColumnType(int col)
                  throws java.lang.Exception
Gets the data type of a column in the result set.

Parameters:
col - the column index (beginning at 1)
Returns:
the column SQL data type (as represented in java.sql.Types).
Throws:
java.lang.Exception

EspressReport 6.6