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; ...
Get Database Programming with JDBC & Java, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.