public class ResultSetMetaDataRelay extends Object implements Relay<ResultSetMetaData>, ResultSetMetaData
| Modifier and Type | Field and Description |
|---|---|
com.impossibl.jdbc.spy.ResultSetMetaDataListener |
listener |
ResultSetMetaData |
target |
columnNoNulls, columnNullable, columnNullableUnknown| Constructor and Description |
|---|
ResultSetMetaDataRelay(ResultSetMetaData target,
com.impossibl.jdbc.spy.ResultSetMetaDataListener listener) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCatalogName(int column) |
String |
getColumnClassName(int column) |
int |
getColumnCount() |
int |
getColumnDisplaySize(int column) |
String |
getColumnLabel(int column) |
String |
getColumnName(int column) |
int |
getColumnType(int column) |
String |
getColumnTypeName(int column) |
int |
getPrecision(int column) |
int |
getScale(int column) |
String |
getSchemaName(int column) |
String |
getTableName(int column) |
ResultSetMetaData |
getTarget() |
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 ResultSetMetaData target
public com.impossibl.jdbc.spy.ResultSetMetaDataListener listener
public ResultSetMetaDataRelay(ResultSetMetaData target, com.impossibl.jdbc.spy.ResultSetMetaDataListener listener)
public ResultSetMetaData getTarget()
getTarget in interface Relay<ResultSetMetaData>public int getColumnDisplaySize(int column)
throws SQLException
getColumnDisplaySize in interface ResultSetMetaDataSQLExceptionpublic String getColumnClassName(int column) throws SQLException
getColumnClassName in interface ResultSetMetaDataSQLExceptionpublic String getSchemaName(int column) throws SQLException
getSchemaName in interface ResultSetMetaDataSQLExceptionpublic String getColumnTypeName(int column) throws SQLException
getColumnTypeName in interface ResultSetMetaDataSQLExceptionpublic boolean isDefinitelyWritable(int column)
throws SQLException
isDefinitelyWritable in interface ResultSetMetaDataSQLExceptionpublic String getColumnName(int column) throws SQLException
getColumnName in interface ResultSetMetaDataSQLExceptionpublic int getColumnCount()
throws SQLException
getColumnCount in interface ResultSetMetaDataSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor in interface WrapperSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap in interface WrapperSQLExceptionpublic boolean isAutoIncrement(int column)
throws SQLException
isAutoIncrement in interface ResultSetMetaDataSQLExceptionpublic String getColumnLabel(int column) throws SQLException
getColumnLabel in interface ResultSetMetaDataSQLExceptionpublic boolean isReadOnly(int column)
throws SQLException
isReadOnly in interface ResultSetMetaDataSQLExceptionpublic int getColumnType(int column)
throws SQLException
getColumnType in interface ResultSetMetaDataSQLExceptionpublic String getTableName(int column) throws SQLException
getTableName in interface ResultSetMetaDataSQLExceptionpublic int isNullable(int column)
throws SQLException
isNullable in interface ResultSetMetaDataSQLExceptionpublic int getScale(int column)
throws SQLException
getScale in interface ResultSetMetaDataSQLExceptionpublic boolean isCaseSensitive(int column)
throws SQLException
isCaseSensitive in interface ResultSetMetaDataSQLExceptionpublic boolean isSigned(int column)
throws SQLException
isSigned in interface ResultSetMetaDataSQLExceptionpublic boolean isWritable(int column)
throws SQLException
isWritable in interface ResultSetMetaDataSQLExceptionpublic int getPrecision(int column)
throws SQLException
getPrecision in interface ResultSetMetaDataSQLExceptionpublic String getCatalogName(int column) throws SQLException
getCatalogName in interface ResultSetMetaDataSQLExceptionpublic boolean isSearchable(int column)
throws SQLException
isSearchable in interface ResultSetMetaDataSQLExceptionpublic boolean isCurrency(int column)
throws SQLException
isCurrency in interface ResultSetMetaDataSQLException