com.holub.database.jdbc.adapters
Class ResultSetMetaDataAdapter
java.lang.Object
com.holub.database.jdbc.adapters.ResultSetMetaDataAdapter
- All Implemented Interfaces:
- ResultSetMetaData
- Direct Known Subclasses:
- JDBCResultSetMetaData
public class ResultSetMetaDataAdapter
- extends Object
- implements ResultSetMetaData
|
©2004 Allen I. Holub. All rights reserved.
This code may be used freely by yourself with the following restrictions:
- Your splash screen, about box, or equivalent, must include
Allen Holub's name, copyright, and URL. For example:
This program contains Allen Holub's SQL package.
(c) 2005 Allen I. Holub. All Rights Reserved.
http://www.holub.com
If your program does not run interactively, then the foregoing
notice must appear in your documentation.
- You may not redistribute (or mirror) the source code.
- You must report any bugs that you find to me. Use the form at
http://www.holub.com/company/contact.html
or send email.
- The software is supplied as is. Neither Allen Holub nor
Holub Associates are responsible for any bugs (or any problems
caused by bugs, including lost productivity or data)
in any of this code.
|
ResultSetMetaDataAdapter
public ResultSetMetaDataAdapter()
getCatalogName
public String getCatalogName(int column)
throws SQLException
- Specified by:
getCatalogName in interface ResultSetMetaData
- Throws:
SQLException
getColumnClassName
public String getColumnClassName(int column)
throws SQLException
- Specified by:
getColumnClassName in interface ResultSetMetaData
- Throws:
SQLException
getColumnCount
public int getColumnCount()
throws SQLException
- Specified by:
getColumnCount in interface ResultSetMetaData
- Throws:
SQLException
getColumnDisplaySize
public int getColumnDisplaySize(int column)
throws SQLException
- Specified by:
getColumnDisplaySize in interface ResultSetMetaData
- Throws:
SQLException
getColumnLabel
public String getColumnLabel(int column)
throws SQLException
- Specified by:
getColumnLabel in interface ResultSetMetaData
- Throws:
SQLException
getColumnName
public String getColumnName(int column)
throws SQLException
- Specified by:
getColumnName in interface ResultSetMetaData
- Throws:
SQLException
getColumnType
public int getColumnType(int column)
throws SQLException
- Specified by:
getColumnType in interface ResultSetMetaData
- Throws:
SQLException
getColumnTypeName
public String getColumnTypeName(int column)
throws SQLException
- Specified by:
getColumnTypeName in interface ResultSetMetaData
- Throws:
SQLException
getPrecision
public int getPrecision(int column)
throws SQLException
- Specified by:
getPrecision in interface ResultSetMetaData
- Throws:
SQLException
getScale
public int getScale(int column)
throws SQLException
- Specified by:
getScale in interface ResultSetMetaData
- Throws:
SQLException
getSchemaName
public String getSchemaName(int column)
throws SQLException
- Specified by:
getSchemaName in interface ResultSetMetaData
- Throws:
SQLException
getTableName
public String getTableName(int column)
throws SQLException
- Specified by:
getTableName in interface ResultSetMetaData
- Throws:
SQLException
isAutoIncrement
public boolean isAutoIncrement(int column)
throws SQLException
- Specified by:
isAutoIncrement in interface ResultSetMetaData
- Throws:
SQLException
isCaseSensitive
public boolean isCaseSensitive(int column)
throws SQLException
- Specified by:
isCaseSensitive in interface ResultSetMetaData
- Throws:
SQLException
isCurrency
public boolean isCurrency(int column)
throws SQLException
- Specified by:
isCurrency in interface ResultSetMetaData
- Throws:
SQLException
isDefinitelyWritable
public boolean isDefinitelyWritable(int column)
throws SQLException
- Specified by:
isDefinitelyWritable in interface ResultSetMetaData
- Throws:
SQLException
isNullable
public int isNullable(int column)
throws SQLException
- Specified by:
isNullable in interface ResultSetMetaData
- Throws:
SQLException
isReadOnly
public boolean isReadOnly(int column)
throws SQLException
- Specified by:
isReadOnly in interface ResultSetMetaData
- Throws:
SQLException
isSearchable
public boolean isSearchable(int column)
throws SQLException
- Specified by:
isSearchable in interface ResultSetMetaData
- Throws:
SQLException
isSigned
public boolean isSigned(int column)
throws SQLException
- Specified by:
isSigned in interface ResultSetMetaData
- Throws:
SQLException
isWritable
public boolean isWritable(int column)
throws SQLException
- Specified by:
isWritable in interface ResultSetMetaData
- Throws:
SQLException