com.holub.database.jdbc
Class JDBCResultSetMetaData
java.lang.Object
com.holub.database.jdbc.adapters.ResultSetMetaDataAdapter
com.holub.database.jdbc.JDBCResultSetMetaData
- All Implemented Interfaces:
- ResultSetMetaData
public class JDBCResultSetMetaData
- extends ResultSetMetaDataAdapter
A limited version of the result-set metadata class. All methods
not shown throw a SQLException
if called.
©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.
|
Methods inherited from class com.holub.database.jdbc.adapters.ResultSetMetaDataAdapter |
getCatalogName, getColumnClassName, getColumnDisplaySize, getColumnLabel, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable |
JDBCResultSetMetaData
public JDBCResultSetMetaData(Cursor cursor)
getColumnType
public int getColumnType(int column)
throws SQLException
- Specified by:
getColumnType
in interface ResultSetMetaData
- Overrides:
getColumnType
in class ResultSetMetaDataAdapter
- Throws:
SQLException
getColumnTypeName
public String getColumnTypeName(int column)
throws SQLException
- Specified by:
getColumnTypeName
in interface ResultSetMetaData
- Overrides:
getColumnTypeName
in class ResultSetMetaDataAdapter
- Throws:
SQLException
getColumnName
public String getColumnName(int index)
throws SQLException
- Specified by:
getColumnName
in interface ResultSetMetaData
- Overrides:
getColumnName
in class ResultSetMetaDataAdapter
- Throws:
SQLException
getColumnCount
public int getColumnCount()
throws SQLException
- Specified by:
getColumnCount
in interface ResultSetMetaData
- Overrides:
getColumnCount
in class ResultSetMetaDataAdapter
- Throws:
SQLException
getTableName
public String getTableName()
throws SQLException
- Throws:
SQLException