Class SQLServerResultSetMetaData

  • All Implemented Interfaces:
    ISQLServerResultSetMetaData, java.sql.ResultSetMetaData, java.sql.Wrapper

    public final class SQLServerResultSetMetaData
    extends java.lang.Object
    implements ISQLServerResultSetMetaData
    Provides an implementation of the result set metadata to the SQL Server. A ResultSetMetaData object can be used to obtain the meta data (types and type properties) of the columns in a ResultSet. The API javadoc for JDBC API methods that this class implements are not repeated here. Please see Sun's JDBC API interfaces javadoc for those details.
    • Method Detail

      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • isWrapperFor

        public boolean isWrapperFor​(java.lang.Class<?> iface)
                             throws java.sql.SQLException
        Specified by:
        isWrapperFor in interface java.sql.Wrapper
        Throws:
        java.sql.SQLException
      • unwrap

        public <T> T unwrap​(java.lang.Class<T> iface)
                     throws java.sql.SQLException
        Specified by:
        unwrap in interface java.sql.Wrapper
        Throws:
        java.sql.SQLException
      • getCatalogName

        public java.lang.String getCatalogName​(int column)
                                        throws SQLServerException
        Specified by:
        getCatalogName in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • getColumnDisplaySize

        public int getColumnDisplaySize​(int column)
                                 throws SQLServerException
        Specified by:
        getColumnDisplaySize in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • getColumnLabel

        public java.lang.String getColumnLabel​(int column)
                                        throws SQLServerException
        Specified by:
        getColumnLabel in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • getColumnName

        public java.lang.String getColumnName​(int column)
                                       throws SQLServerException
        Specified by:
        getColumnName in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • getColumnType

        public int getColumnType​(int column)
                          throws SQLServerException
        Specified by:
        getColumnType in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • getColumnTypeName

        public java.lang.String getColumnTypeName​(int column)
                                           throws SQLServerException
        Specified by:
        getColumnTypeName in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • getSchemaName

        public java.lang.String getSchemaName​(int column)
                                       throws SQLServerException
        Specified by:
        getSchemaName in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • getTableName

        public java.lang.String getTableName​(int column)
                                      throws SQLServerException
        Specified by:
        getTableName in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • isAutoIncrement

        public boolean isAutoIncrement​(int column)
                                throws SQLServerException
        Specified by:
        isAutoIncrement in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • isCaseSensitive

        public boolean isCaseSensitive​(int column)
                                throws SQLServerException
        Specified by:
        isCaseSensitive in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • isDefinitelyWritable

        public boolean isDefinitelyWritable​(int column)
                                     throws SQLServerException
        Specified by:
        isDefinitelyWritable in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • isSearchable

        public boolean isSearchable​(int column)
                             throws SQLServerException
        Specified by:
        isSearchable in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException
      • getColumnClassName

        public java.lang.String getColumnClassName​(int column)
                                            throws SQLServerException
        Specified by:
        getColumnClassName in interface java.sql.ResultSetMetaData
        Throws:
        SQLServerException