public class ResultSetMetaDataBase extends Object implements ResultSetMetaData
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ResultSetMetaDataBase.ColumnMetaData |
columnNoNulls, columnNullable, columnNullableUnknown| 构造器和说明 |
|---|
ResultSetMetaDataBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
findColumn(String columnName) |
String |
getCatalogName(int column) |
ResultSetMetaDataBase.ColumnMetaData |
getColumn(int column) |
String |
getColumnClassName(int column) |
int |
getColumnCount() |
int |
getColumnDisplaySize(int column) |
String |
getColumnLabel(int column) |
String |
getColumnName(int column) |
List<ResultSetMetaDataBase.ColumnMetaData> |
getColumns() |
int |
getColumnType(int column) |
String |
getColumnTypeName(int column) |
int |
getPrecision(int column) |
int |
getScale(int column) |
String |
getSchemaName(int column) |
String |
getTableName(int column) |
boolean |
isAutoIncrement(int column) |
boolean |
isCaseSensitive(int column) |
boolean |
isCurrency(int column) |
boolean |
isDefinitelyWritable(int column) |
int |
isNullable(int column) |
boolean |
isReadOnly(int column) |
boolean |
isSearchable(int column) |
boolean |
isSigned(int column) |
boolean |
isWrapperFor(Class<?> iface) |
boolean |
isWritable(int column) |
<T> T |
unwrap(Class<T> iface) |
public List<ResultSetMetaDataBase.ColumnMetaData> getColumns()
public int findColumn(String columnName) throws SQLException
SQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap 在接口中 WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor 在接口中 WrapperSQLExceptionpublic int getColumnCount()
throws SQLException
getColumnCount 在接口中 ResultSetMetaDataSQLExceptionpublic boolean isAutoIncrement(int column)
throws SQLException
isAutoIncrement 在接口中 ResultSetMetaDataSQLExceptionpublic boolean isCaseSensitive(int column)
throws SQLException
isCaseSensitive 在接口中 ResultSetMetaDataSQLExceptionpublic boolean isSearchable(int column)
throws SQLException
isSearchable 在接口中 ResultSetMetaDataSQLExceptionpublic boolean isCurrency(int column)
throws SQLException
isCurrency 在接口中 ResultSetMetaDataSQLExceptionpublic int isNullable(int column)
throws SQLException
isNullable 在接口中 ResultSetMetaDataSQLExceptionpublic boolean isSigned(int column)
throws SQLException
isSigned 在接口中 ResultSetMetaDataSQLExceptionpublic int getColumnDisplaySize(int column)
throws SQLException
getColumnDisplaySize 在接口中 ResultSetMetaDataSQLExceptionpublic String getColumnLabel(int column) throws SQLException
getColumnLabel 在接口中 ResultSetMetaDataSQLExceptionpublic ResultSetMetaDataBase.ColumnMetaData getColumn(int column)
public String getColumnName(int column) throws SQLException
getColumnName 在接口中 ResultSetMetaDataSQLExceptionpublic String getSchemaName(int column) throws SQLException
getSchemaName 在接口中 ResultSetMetaDataSQLExceptionpublic int getPrecision(int column)
throws SQLException
getPrecision 在接口中 ResultSetMetaDataSQLExceptionpublic int getScale(int column)
throws SQLException
getScale 在接口中 ResultSetMetaDataSQLExceptionpublic String getTableName(int column) throws SQLException
getTableName 在接口中 ResultSetMetaDataSQLExceptionpublic String getCatalogName(int column) throws SQLException
getCatalogName 在接口中 ResultSetMetaDataSQLExceptionpublic int getColumnType(int column)
throws SQLException
getColumnType 在接口中 ResultSetMetaDataSQLExceptionpublic String getColumnTypeName(int column) throws SQLException
getColumnTypeName 在接口中 ResultSetMetaDataSQLExceptionpublic boolean isReadOnly(int column)
throws SQLException
isReadOnly 在接口中 ResultSetMetaDataSQLExceptionpublic boolean isWritable(int column)
throws SQLException
isWritable 在接口中 ResultSetMetaDataSQLExceptionpublic boolean isDefinitelyWritable(int column)
throws SQLException
isDefinitelyWritable 在接口中 ResultSetMetaDataSQLExceptionpublic String getColumnClassName(int column) throws SQLException
getColumnClassName 在接口中 ResultSetMetaDataSQLExceptionCopyright © 2012 Alibaba Group. All Rights Reserved.