|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResultSetMetaData
Provides information about the columns in a ResultSet.
| Field Summary | |
|---|---|
static int |
columnNoNulls
Indicates that a column cannot contain NULL values |
static int |
columnNullable
Indicates that a column can contain NULL values |
static int |
columnNullableUnknown
Indicates that it is unknown whether a column can contain NULLs or not |
| Method Summary | |
|---|---|
String |
getCatalogName(int column)
Returns the title of indexed columns catalog |
String |
getColumnClassName(int column)
Returns the fully-qualified type of the class that is produced when invoking ResultSet.getObject to recover this columns value. |
int |
getColumnCount()
Returns a count of the columns in this set of results. |
int |
getColumnDisplaySize(int column)
Returns the indexed column's standard maximum width, expressed in number of characters. |
String |
getColumnLabel(int column)
Returns a recommended title for the indexed column, to be used when the title needs to be displayed. |
String |
getColumnName(int column)
Returns the title of the indexed column |
int |
getColumnType(int column)
Returns the type of the indexed column |
String |
getColumnTypeName(int column)
Returns the type name of the indexed column |
int |
getPrecision(int column)
Returns the decimal precision of the indexed column |
int |
getScale(int column)
Returns the number of decimal places in the indexed column. |
String |
getSchemaName(int column)
Returns the name of the indexed columns schema |
String |
getTableName(int column)
Returns the title of the indexed columns table. |
boolean |
isAutoIncrement(int column)
Returns and indication of whether the indexed column has automatic numbering and is therefore read-only |
boolean |
isCaseSensitive(int column)
Returns an indicator of whether the case of the indexed column is important |
boolean |
isCurrency(int column)
Returns if the indexed column contains a monetary amount. |
boolean |
isDefinitelyWritable(int column)
Returns an indication of whether writing to the indexed column is guaranteed to be successful |
int |
isNullable(int column)
Returns whether the indexed column is nullable. |
boolean |
isReadOnly(int column)
Returns an indication of whether writing to the indexed column is guaranteed to be unsuccessful |
boolean |
isSearchable(int column)
Returns an indication of whether the indexed column is searchable. |
boolean |
isSigned(int column)
Returns an indicator of whether the values contained in the indexed column are signed. |
boolean |
isWritable(int column)
Returns an indication of whether writing to the indexed column is possible. |
| Field Detail |
|---|
static final int columnNoNulls
static final int columnNullable
static final int columnNullableUnknown
| Method Detail |
|---|
String getCatalogName(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
String getColumnClassName(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
int getColumnCount()
throws SQLException
SQLException - if there is a database error
int getColumnDisplaySize(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
String getColumnLabel(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
String getColumnName(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
int getColumnType(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
String getColumnTypeName(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
int getPrecision(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
int getScale(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
String getSchemaName(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
String getTableName(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
boolean isAutoIncrement(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
boolean isCaseSensitive(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
boolean isCurrency(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
boolean isDefinitelyWritable(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
int isNullable(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
boolean isReadOnly(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
boolean isSearchable(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
boolean isSigned(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
boolean isWritable(int column)
throws SQLException
column - the column index, starting at 1
SQLException - if there is a database error
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||