|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectnet.hasor.jdbc.core.rowset.ResultSetWrappingSqlRowSetMetaData
public class ResultSetWrappingSqlRowSetMetaData
Default implementation of Spring's SqlRowSetMetaData interface. Used by ResultSetWrappingSqlRowSet.
This implementation wraps a javax.sql.ResultSetMetaData
instance, catching any SQLExceptions and translating them to the
appropriate Spring DataAccessException.
ResultSetWrappingSqlRowSet.getMetaData()| 构造方法摘要 | |
|---|---|
ResultSetWrappingSqlRowSetMetaData(ResultSetMetaData resultSetMetaData)
Create a new ResultSetWrappingSqlRowSetMetaData object for the given ResultSetMetaData instance. |
|
| 方法摘要 | |
|---|---|
String |
getCatalogName(int column)
Retrieves the catalog name of the table that served as the source for the specified column. |
String |
getColumnClassName(int column)
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 column)
Retrieves the maximum width of the designated column. |
String |
getColumnLabel(int column)
Retrieve the suggested column title for the column specified. |
String |
getColumnName(int column)
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 column)
Retrieve the SQL type code for the indicated column. |
String |
getColumnTypeName(int column)
Retrieves the DBMS-specific type name for the indicated column. |
int |
getPrecision(int column)
Retrieves the precision for the indicated column. |
int |
getScale(int column)
Retrieves the scale of the indicated column. |
String |
getSchemaName(int column)
Retrieves the schema name of the table that served as the source for the specified column. |
String |
getTableName(int column)
Retrieves the name of the table that served as the source for the specified column. |
boolean |
isCaseSensitive(int column)
Indicates whether the case of the designated column is significant. |
boolean |
isCurrency(int column)
Indicates whether the designated column contains a currency value. |
boolean |
isSigned(int column)
Indicates whether the designated column contains a signed number. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ResultSetWrappingSqlRowSetMetaData(ResultSetMetaData resultSetMetaData)
resultSetMetaData - a disconnected ResultSetMetaData instance
to wrap (usually a javax.sql.RowSetMetaData instance)ResultSet.getMetaData(),
RowSetMetaData,
ResultSetWrappingSqlRowSet.getMetaData()| 方法详细信息 |
|---|
public String getCatalogName(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getCatalogNamecolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.getCatalogName(int)
public String getColumnClassName(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getColumnClassNamecolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.getColumnClassName(int)
public int getColumnCount()
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getColumnCountInvalidDataAccessExceptionResultSetMetaData.getColumnCount()
public String[] getColumnNames()
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getColumnNamesInvalidDataAccessException
public int getColumnDisplaySize(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getColumnDisplaySizecolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.getColumnDisplaySize(int)
public String getColumnLabel(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getColumnLabelcolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.getColumnLabel(int)
public String getColumnName(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getColumnNamecolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.getColumnName(int)
public int getColumnType(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getColumnTypecolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.getColumnType(int),
Types
public String getColumnTypeName(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getColumnTypeNamecolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.getColumnTypeName(int)
public int getPrecision(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getPrecisioncolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.getPrecision(int)
public int getScale(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getScalecolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.getScale(int)
public String getSchemaName(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getSchemaNamecolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.getSchemaName(int)
public String getTableName(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 getTableNamecolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.getTableName(int)
public boolean isCaseSensitive(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 isCaseSensitivecolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.isCaseSensitive(int)
public boolean isCurrency(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 isCurrencycolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.isCurrency(int)
public boolean isSigned(int column)
throws InvalidDataAccessException
SqlRowSetMetaData 复制的描述
SqlRowSetMetaData 中的 isSignedcolumn - the index of the column
InvalidDataAccessExceptionResultSetMetaData.isSigned(int)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||