Class Hierarchy    Previous  Next  Index

Class COM.cloudscape.vti20.VTIMetaDataTemplate

java.lang.Object
    |
    +----COM.cloudscape.vti.VTIMetaDataTemplate
            |
            +----COM.cloudscape.vti20.VTIMetaDataTemplate

public abstract class VTIMetaDataTemplate
extends VTIMetaDataTemplate
Copyright © 1998-2000, Informix Software, Inc. All rights reserved.

An abstract implementation of ResultSetMetaData (JDK1.2/JDBC 2.0) that is useful when writing a VTI (virtual table interface). This class implements most of the methods of ResultSetMetaData, each one throwing a SQLException with the name of the method. A concrete sub-class can then just implement the methods not implemented here and override any methods it needs to implement for correct functionality.

This class is for use with JDBC 2.0.

The methods not implemented here are


A VTI implementation must provide an implementation of the methods in this class.


Constructor Index

 o VTIMetaDataTemplate()
 

Method Index

 o getColumnClassName(int)
JDBC 2.0

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column.

Constructor Detail

 o VTIMetaDataTemplate
public VTIMetaDataTemplate()

Method Detail

 o getColumnClassName
public java.lang.String getColumnClassName(int column) throws java.sql.SQLException
          JDBC 2.0

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column.

Throws:
java.sql.SQLException - if a database-access error occurs

  Class Hierarchy    Previous  Next  Index