O'Reilly logo

Database Programming with JDBC & Java, Second Edition by George Reese

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

ResultSetMetaData

Synopsis

Interface Name: java.sql.ResultSetMetaData

Superclass: None

Immediate Subclasses: None

Interfaces Implemented: None

Availability: JDK 1.1

Description

This class provides meta-information about the types and properties of the columns in a ResultSet instance.

Class Summary

  public interface ResultSetMetaData {
    static public final int columnNoNulls;
    static public final int columnNullable;
    static public final int columnNullableUnknown;
    String getCatalogName(int index) 
        throws SQLException;
    String getColumnClassName(int index)
        throws SQLException; public int getColumnCount( ) throws SQLException; public int getColumnDisplaySize(int index) throws SQLException; public String getColumnLabel(int index) throws SQLException; public String getColumnName(int index) throws SQLException; public int getColumnType(int index) throws SQLException; public String getColumnTypeName(int index) throws SQLException; public int getPrecision(int index) throws SQLException; public int getScale(int index) throws SQLException; public String getSchemaName(int index) throws SQLException; public String getTableName(int index) throws SQLException; public boolean isAutoIncrement(int index) throws SQLException; public isCaseSensitive(int index) throws SQLException; public boolean isCurrency(int index) throws SQLException; public boolean isDefinitelyWritable(int index) throws SQLException; public int isNullable(int index) throws SQLException; public boolean isReadOnly(int index) throws SQLException; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required