SqlRowSetMetaData interface, wrapping a
java.sql.ResultSetMetaData instance, catching any SQLExceptions
and translating them to a corresponding Spring InvalidResultSetAccessException.
Used by ResultSetWrappingSqlRowSet.
ResultSetWrappingSqlRowSet#getMetaData()
| Modifier and Type | Field and Description |
|---|---|
| private String[] | |
| private final ResultSetMetaData |
| Access | Constructor and Description |
|---|---|
| public | ResultSetWrappingSqlRowSetMetaData(ResultSetMetaData
a disconnected ResultSetMetaData instance
to wrap (usually a resultSetMetaData)javax.sql.RowSetMetaData instance)Create a new ResultSetWrappingSqlRowSetMetaData object for the given ResultSetMetaData instance. |
| Modifier and Type | Method and Description |
|---|---|
| public String | getCatalogName(int
the index of the column column)Implements org. Retrieve the catalog name of the table that served as the source for the specified column. |
| public String | getColumnClassName(int
the index of the column column)Implements org. Retrieve the fully qualified class that the specified column will be mapped to. |
| public int | getColumnCount()
Implements org. Retrieve the number of columns in the RowSet. |
| public int | getColumnDisplaySize(int
the index of the column column)Implements org. Retrieve the maximum width of the designated column. |
| public String | getColumnLabel(int
the index of the column column)Implements org. Retrieve the suggested column title for the column specified. |
| public String | getColumnName(int
the index of the column column)Implements org. Retrieve the column name for the indicated column. |
| public String[] | getColumnNames()
Implements org. Return the column names of the table that the result set represents. |
| public int | getColumnType(int
the index of the column column)Implements org. Retrieve the SQL type code for the indicated column. |
| public String | getColumnTypeName(int
the index of the column column)Implements org. Retrieve the DBMS-specific type name for the indicated column. |
| public int | getPrecision(int
the index of the column column)Implements org. Retrieve the precision for the indicated column. |
| public int | getScale(int
the index of the column column)Implements org. Retrieve the scale of the indicated column. |
| public String | getSchemaName(int
the index of the column column)Implements org. Retrieve the schema name of the table that served as the source for the specified column. |
| public String | getTableName(int
the index of the column column)Implements org. Retrieve the name of the table that served as the source for the specified column. |
| public boolean | isCaseSensitive(int
the index of the column column)Implements org. Indicate whether the case of the designated column is significant. |
| public boolean | isCurrency(int
the index of the column column)Implements org. Indicate whether the designated column contains a currency value. |
| public boolean | isSigned(int
the index of the column column)Implements org. Indicate whether the designated column contains a signed number. |
| columnNames | back to summary |
|---|---|
| private String[] columnNames
| |
| resultSetMetaData | back to summary |
|---|---|
| private final ResultSetMetaData resultSetMetaData | |
| ResultSetWrappingSqlRowSetMetaData | back to summary |
|---|---|
| public ResultSetWrappingSqlRowSetMetaData(ResultSetMetaData resultSetMetaData) Create a new ResultSetWrappingSqlRowSetMetaData object for the given ResultSetMetaData instance.
| |
| getCatalogName | back to summary |
|---|---|
| public String getCatalogName(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the catalog name of the table that served as the source for the specified column. | |
| getColumnClassName | back to summary |
|---|---|
| public String getColumnClassName(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the fully qualified class that the specified column will be mapped to. | |
| getColumnCount | back to summary |
|---|---|
| public int getColumnCount() throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the number of columns in the RowSet.
| |
| getColumnDisplaySize | back to summary |
|---|---|
| public int getColumnDisplaySize(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the maximum width of the designated column.
| |
| getColumnLabel | back to summary |
|---|---|
| public String getColumnLabel(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the suggested column title for the column specified. | |
| getColumnName | back to summary |
|---|---|
| public String getColumnName(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the column name for the indicated column. | |
| getColumnNames | back to summary |
|---|---|
| public String[] getColumnNames() throws InvalidResultSetAccessException Implements org. Doc from org. Return the column names of the table that the result set represents. | |
| getColumnType | back to summary |
|---|---|
| public int getColumnType(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the SQL type code for the indicated column.
| |
| getColumnTypeName | back to summary |
|---|---|
| public String getColumnTypeName(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the DBMS-specific type name for the indicated column. | |
| getPrecision | back to summary |
|---|---|
| public int getPrecision(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the precision for the indicated column.
| |
| getScale | back to summary |
|---|---|
| public int getScale(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the scale of the indicated column.
| |
| getSchemaName | back to summary |
|---|---|
| public String getSchemaName(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the schema name of the table that served as the source for the specified column. | |
| getTableName | back to summary |
|---|---|
| public String getTableName(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Retrieve the name of the table that served as the source for the specified column. | |
| isCaseSensitive | back to summary |
|---|---|
| public boolean isCaseSensitive(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Indicate whether the case of the designated column is significant.
| |
| isCurrency | back to summary |
|---|---|
| public boolean isCurrency(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Indicate whether the designated column contains a currency value.
| |
| isSigned | back to summary |
|---|---|
| public boolean isSigned(int column) throws InvalidResultSetAccessException Implements org. Doc from org. Indicate whether the designated column contains a signed number.
| |