public 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, SQL_EXCEPTION, STATEMENT, trace, XA_DATA_SOURCE, XA_RESOURCE, XID
columnNoNulls, columnNullable, columnNullableUnknown
Modifier and Type | Method and Description |
---|---|
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 |
isWritable(int column)
Checks whether it is possible for a write on this column to succeed.
|
String |
toString()
INTERNAL
|
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTrace, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isWrapperFor, unwrap
public int getColumnCount() throws SQLException
getColumnCount
in interface ResultSetMetaData
SQLException
- if the result set is closed or invalidpublic String getColumnLabel(int column) throws SQLException
getColumnLabel
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic String getColumnName(int column) throws SQLException
getColumnName
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic int getColumnType(int column) throws SQLException
getColumnType
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic String getColumnTypeName(int column) throws SQLException
getColumnTypeName
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic String getSchemaName(int column) throws SQLException
getSchemaName
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic String getTableName(int column) throws SQLException
getTableName
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic String getCatalogName(int column) throws SQLException
getCatalogName
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic boolean isAutoIncrement(int column) throws SQLException
isAutoIncrement
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic boolean isCaseSensitive(int column) throws SQLException
isCaseSensitive
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic boolean isSearchable(int column) throws SQLException
isSearchable
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic boolean isCurrency(int column) throws SQLException
isCurrency
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic int isNullable(int column) throws SQLException
isNullable
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic boolean isSigned(int column) throws SQLException
isSigned
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic boolean isReadOnly(int column) throws SQLException
isReadOnly
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic boolean isWritable(int column) throws SQLException
isWritable
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic boolean isDefinitelyWritable(int column) throws SQLException
isDefinitelyWritable
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic String getColumnClassName(int column) throws SQLException
getColumnClassName
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic int getPrecision(int column) throws SQLException
getPrecision
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic int getScale(int column) throws SQLException
getScale
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidpublic int getColumnDisplaySize(int column) throws SQLException
getColumnDisplaySize
in interface ResultSetMetaData
column
- the column index (1,2,...)SQLException
- if the result set is closed or invalidCopyright © 2012 JBoss by Red Hat. All Rights Reserved.