Module org.hsqldb

Class JDBCColumnMetaData


  • public final class JDBCColumnMetaData
    extends java.lang.Object
    Provides a site for holding the ResultSetMetaData for individual ResultSet columns. In 2.0 it is implemented as a simple data structure derived from calls to JDBCResultSetMetaData methods. purposes.

    Since:
    HSQLDB 1.7.2
    Author:
    Campbell Burnet (campbell-burnet@users dot sourceforge.net), Fred Toussi (fredt@users dot sourceforge.net)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String catalogName
      The column's table's catalog name.
      java.lang.String columnClassName
      The fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column.
      int columnDisplaySize
      The column's normal max width in chars.
      java.lang.String columnLabel
      The suggested column title for use in printouts and displays.
      java.lang.String columnName
      The column's name.
      int columnType
      The column's SQL type.
      boolean isAutoIncrement
      Whether the value of the column are automatically numbered.
      boolean isCaseSensitive
      Whether the column's value's case matters.
      boolean isCurrency
      Whether the values in the column are cash values.
      boolean isDefinitelyWritable
      Whether a write on the column will definitely succeed.
      int isNullable
      The nullability of values in the column.
      boolean isReadOnly
      Whether the column's values are definitely not writable.
      boolean isSearchable
      Whether the column's values can be used in a where clause.
      boolean isSigned
      Whether values in the column are signed numbers.
      boolean isWritable
      Whether it is possible for a write on the column to succeed.
      int precision
      The column's value's number of decimal digits.
      int scale
      The column's value's number of digits to right of the decimal point.
      java.lang.String schemaName
      The column's table's schema.
      java.lang.String tableName
      The column's table's name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Retrieves a String representation of this object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • catalogName

        public java.lang.String catalogName
        The column's table's catalog name.
      • columnClassName

        public java.lang.String columnClassName
        The fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column.
      • columnDisplaySize

        public int columnDisplaySize
        The column's normal max width in chars.
      • columnLabel

        public java.lang.String columnLabel
        The suggested column title for use in printouts and displays.
      • columnName

        public java.lang.String columnName
        The column's name.
      • columnType

        public int columnType
        The column's SQL type.
      • precision

        public int precision
        The column's value's number of decimal digits.
      • scale

        public int scale
        The column's value's number of digits to right of the decimal point.
      • schemaName

        public java.lang.String schemaName
        The column's table's schema.
      • tableName

        public java.lang.String tableName
        The column's table's name.
      • isAutoIncrement

        public boolean isAutoIncrement
        Whether the value of the column are automatically numbered.
      • isCaseSensitive

        public boolean isCaseSensitive
        Whether the column's value's case matters.
      • isCurrency

        public boolean isCurrency
        Whether the values in the column are cash values.
      • isDefinitelyWritable

        public boolean isDefinitelyWritable
        Whether a write on the column will definitely succeed.
      • isNullable

        public int isNullable
        The nullability of values in the column.
      • isReadOnly

        public boolean isReadOnly
        Whether the column's values are definitely not writable.
      • isSearchable

        public boolean isSearchable
        Whether the column's values can be used in a where clause.
      • isSigned

        public boolean isSigned
        Whether values in the column are signed numbers.
      • isWritable

        public boolean isWritable
        Whether it is possible for a write on the column to succeed.
    • Constructor Detail

      • JDBCColumnMetaData

        public JDBCColumnMetaData()
    • Method Detail

      • toString

        public java.lang.String toString()
        Retrieves a String representation of this object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a String representation of this object