public final class JdbcResultSetMetaData extends TraceObject implements ResultSetMetaData
ARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, SQLXML, STATEMENT, trace, XA_DATA_SOURCE, XIDcolumnNoNulls, columnNullable, columnNullableUnknown| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCatalogName(int column)
Returns the catalog name.
|
String |
getColumnClassName(int column)
Gets the Java class name of the object that will be returned
if ResultSet.getObject is called.
|
int |
getColumnCount()
Returns the number of columns.
|
int |
getColumnDisplaySize(int column)
Gets the maximum display size for this column.
|
String |
getColumnLabel(int column)
Returns the column label.
|
String |
getColumnName(int column)
Returns the column name.
|
int |
getColumnType(int column)
Returns the data type of a column.
|
String |
getColumnTypeName(int column)
Returns the data type name of a column.
|
int |
getPrecision(int column)
Gets the precision for this column.
|
int |
getScale(int column)
Gets the scale for this column.
|
String |
getSchemaName(int column)
Returns the schema name.
|
String |
getTableName(int column)
Returns the table name.
|
boolean |
isAutoIncrement(int column)
Checks if this an autoincrement column.
|
boolean |
isCaseSensitive(int column)
Checks if this column is case sensitive.
|
boolean |
isCurrency(int column)
Checks if this is a currency column.
|
boolean |
isDefinitelyWritable(int column)
Checks whether a write on this column will definitely succeed.
|
int |
isNullable(int column)
Checks if this is nullable column.
|
boolean |
isReadOnly(int column)
Checks if this column is read only.
|
boolean |
isSearchable(int column)
Checks if this column is searchable.
|
boolean |
isSigned(int column)
Checks if this column is signed.
|
boolean |
isWrapperFor(Class<?> iface)
Checks if unwrap can return an object of this class.
|
boolean |
isWritable(int column)
Checks whether it is possible for a write on this column to succeed.
|
String |
toString()
INTERNAL
|
<T> T |
unwrap(Class<T> iface)
Return an object of this class if possible.
|
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupportedpublic int getColumnCount()
throws SQLException
getColumnCount 在接口中 ResultSetMetaDataSQLException - if the result set is closed or invalidpublic String getColumnLabel(int column) throws SQLException
getColumnLabel 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic String getColumnName(int column) throws SQLException
getColumnName 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic int getColumnType(int column)
throws SQLException
getColumnType 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic String getColumnTypeName(int column) throws SQLException
getColumnTypeName 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic String getSchemaName(int column) throws SQLException
getSchemaName 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic String getTableName(int column) throws SQLException
getTableName 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic String getCatalogName(int column) throws SQLException
getCatalogName 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic boolean isAutoIncrement(int column)
throws SQLException
isAutoIncrement 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic boolean isCaseSensitive(int column)
throws SQLException
isCaseSensitive 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic boolean isSearchable(int column)
throws SQLException
isSearchable 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic boolean isCurrency(int column)
throws SQLException
isCurrency 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic int isNullable(int column)
throws SQLException
isNullable 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic boolean isSigned(int column)
throws SQLException
isSigned 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic boolean isReadOnly(int column)
throws SQLException
isReadOnly 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic boolean isWritable(int column)
throws SQLException
isWritable 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic boolean isDefinitelyWritable(int column)
throws SQLException
isDefinitelyWritable 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic String getColumnClassName(int column) throws SQLException
getColumnClassName 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic int getPrecision(int column)
throws SQLException
getPrecision 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic int getScale(int column)
throws SQLException
getScale 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic int getColumnDisplaySize(int column)
throws SQLException
getColumnDisplaySize 在接口中 ResultSetMetaDatacolumn - the column index (1,2,...)SQLException - if the result set is closed or invalidpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap 在接口中 Wrapperiface - the classSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor 在接口中 Wrapperiface - the classSQLExceptionCopyright © 2022. All rights reserved.