API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.sql. ResultSetMetaData View Source
Author(s)
Since
Version
Serial
Hierarchy
 Wrapper
      ResultSetMetaData
Subinterfaces
Description
public interface ResultSetMetaData
  An object that can be used to get information about the types and properties of the columns in a ResultSet object.
See also:   
Methods
Hide/Show inherited methods
public String getCatalogName (int column) throws SQLException
  Gets the designated column's table's catalog name.
public String getColumnClassName (int column) throws SQLException
  Returns 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.
public int getColumnCount () throws SQLException
  Returns the number of columns in this ResultSet object.
public int getColumnDisplaySize (int column) throws SQLException
  Indicates the designated column's normal maximum width in characters.
public String getColumnLabel (int column) throws SQLException
  Gets the designated column's suggested title for use in printouts and displays.
public String getColumnName (int column) throws SQLException
  Get the designated column's name.
public int getColumnType (int column) throws SQLException
  Retrieves the designated column's SQL type.
public String getColumnTypeName (int column) throws SQLException
  Retrieves the designated column's database-specific type name.
public int getPrecision (int column) throws SQLException
  Get the designated column's specified column size.
public int getScale (int column) throws SQLException
  Gets the designated column's number of digits to right of the decimal point.
public String getSchemaName (int column) throws SQLException
  Get the designated column's table's schema.
public String getTableName (int column) throws SQLException
  Gets the designated column's table name.
public boolean isAutoIncrement (int column) throws SQLException
  Indicates whether the designated column is automatically numbered.
public boolean isCaseSensitive (int column) throws SQLException
  Indicates whether a column's case matters.
public boolean isCurrency (int column) throws SQLException
  Indicates whether the designated column is a cash value.
public boolean isDefinitelyWritable (int column) throws SQLException
  Indicates whether a write on the designated column will definitely succeed.
public int isNullable (int column) throws SQLException
  Indicates the nullability of values in the designated column.
public boolean isReadOnly (int column) throws SQLException
  Indicates whether the designated column is definitely not writable.
public boolean isSearchable (int column) throws SQLException
  Indicates whether the designated column can be used in a where clause.
public boolean isSigned (int column) throws SQLException
  Indicates whether values in the designated column are signed numbers.
public boolean isWritable (int column) throws SQLException
  Indicates whether it is possible for a write on the designated column to succeed.
Fields
Hide/Show inherited fields
publicfinalstatic int columnNoNulls = "0"
The constant indicating that a column does not allow NULL values.
publicfinalstatic int columnNullable = "1"
The constant indicating that a column allows NULL values.
publicfinalstatic int columnNullableUnknown = "2"
The constant indicating that the nullability of a column's values is unknown.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar