Interface IRSMetaData

All Known Implementing Classes:
QueryResultSet, StreamResultSet

public interface IRSMetaData
This interface describes the structure of a tabular data set represented by an IResultSet interface.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the number of columns in the result set.
    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.
    getTableName(int col)
     
  • Method Details

    • getColumnCount

      int getColumnCount() throws Exception
      Gets the number of columns in the result set.
      Throws:
      Exception
    • getColumnName

      String getColumnName(int col) throws Exception
      Gets the name of a column in the result set.
      Parameters:
      the - column index (beginning with 1)
      Returns:
      the column name
      Throws:
      Exception
    • getTableName

      String getTableName(int col) throws Exception
      Throws:
      Exception
    • getColumnType

      int getColumnType(int col) throws Exception
      Gets the data type of a column in the result set.
      Parameters:
      the - column index (beginning at 1)
      Returns:
      the column SQL data type (as represented in java.sql.Types).
      Throws:
      Exception
      See Also: