| 
 | The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SqlRowSetMetaData
Meta data interface for Spring's SqlRowSet,
 analogous to javax.sql.ResultSetMetaData
 
The main difference to the standard JDBC RowSetMetaData is that an SQLException
 is never thrown here. This allows a SqlRowSetMetaData to be used without having
 to deal with checked exceptions. A SqlRowSetMetaData will throw Spring's
 org.springframework.jdbc.InvalidResultSetAccessException
 instead (when appropriate).
SqlRowSet.getMetaData(), 
ResultSetMetaData, 
InvalidResultSetAccessException| Method Summary | |
|---|---|
|  String | getCatalogName(int columnIndex)Retrieves the catalog name of the table that served as the source for the specified column. | 
|  String | getColumnClassName(int columnIndex)Retrieves the fully qualified class that the specified column will be mapped to. | 
|  int | getColumnCount()Retrives the number of columns in the RowSet. | 
|  int | getColumnDisplaySize(int columnIndex)Retrieves the maximum width of the designated column. | 
|  String | getColumnLabel(int columnIndex)Retrieve the suggested column title for the column specified. | 
|  String | getColumnName(int columnIndex)Retrieve the column name for the indicated column. | 
|  String[] | getColumnNames()Return the column names of the table that the result set represents. | 
|  int | getColumnType(int columnIndex)Retrieve the SQL type code for the indicated column. | 
|  String | getColumnTypeName(int columnIndex)Retrieves the DBMS-specific type name for the indicated column. | 
|  int | getPrecision(int columnIndex)Retrieves the precision for the indicated column. | 
|  int | getScale(int columnIndex)Retrieves the scale of the indicated column. | 
|  String | getSchemaName(int columnIndex)Retrieves the schema name of the table that served as the source for the specified column. | 
|  String | getTableName(int columnIndex)Retrieves the name of the table that served as the source for the specified column. | 
|  boolean | isCaseSensitive(int columnIndex)Indicates whether the case of the designated column is significant. | 
|  boolean | isCurrency(int columnIndex)Indicates whether the designated column contains a currency value. | 
|  boolean | isSigned(int columnIndex)Indicates whether the designated column contains a signed number. | 
| Method Detail | 
|---|
String getCatalogName(int columnIndex)
                      throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.getCatalogName(int)
String getColumnClassName(int columnIndex)
                          throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.getColumnClassName(int)
int getColumnCount()
                   throws InvalidResultSetAccessException
InvalidResultSetAccessExceptionResultSetMetaData.getColumnCount()
String[] getColumnNames()
                        throws InvalidResultSetAccessException
InvalidResultSetAccessException
int getColumnDisplaySize(int columnIndex)
                         throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.getColumnDisplaySize(int)
String getColumnLabel(int columnIndex)
                      throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.getColumnLabel(int)
String getColumnName(int columnIndex)
                     throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.getColumnName(int)
int getColumnType(int columnIndex)
                  throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.getColumnType(int), 
Types
String getColumnTypeName(int columnIndex)
                         throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.getColumnTypeName(int)
int getPrecision(int columnIndex)
                 throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.getPrecision(int)
int getScale(int columnIndex)
             throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.getScale(int)
String getSchemaName(int columnIndex)
                     throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.getSchemaName(int)
String getTableName(int columnIndex)
                    throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.getTableName(int)
boolean isCaseSensitive(int columnIndex)
                        throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.isCaseSensitive(int)
boolean isCurrency(int columnIndex)
                   throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.isCurrency(int)
boolean isSigned(int columnIndex)
                 throws InvalidResultSetAccessException
columnIndex - the index of the column
InvalidResultSetAccessExceptionResultSetMetaData.isSigned(int)| 
 | The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||