Class Hierarchy    Previous  Next  Index

Class COM.cloudscape.vti.VTITemplate

java.lang.Object
    |
    +----COM.cloudscape.vti.VTITemplate

public abstract class VTITemplate
extends java.lang.Object
implements java.sql.ResultSet
Copyright © 1998-2000, Informix Software, Inc. All rights reserved.

An abstract implementation of ResultSet (JDK1.1/JDBC 1.2) that is useful when writing a VTI (virtual table interface). This class implements most of the methods of ResultSet, 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.

The methods not implemented here are


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


Constructor Index

 o VTITemplate()
 

Method Index

 o clearWarnings()
 
 o findColumn(String)
 
 o getAsciiStream(int)
 
 o getAsciiStream(String)
 
 o getBigDecimal(int, int)
 
 o getBigDecimal(String, int)
 
 o getBinaryStream(int)
 
 o getBinaryStream(String)
 
 o getBoolean(int)
 
 o getBoolean(String)
 
 o getByte(int)
 
 o getByte(String)
 
 o getBytes(int)
 
 o getBytes(String)
 
 o getCursorName()
 
 o getDate(int)
 
 o getDate(String)
 
 o getDouble(int)
 
 o getDouble(String)
 
 o getFloat(int)
 
 o getFloat(String)
 
 o getInt(int)
 
 o getInt(String)
 
 o getLong(int)
 
 o getLong(String)
 
 o getObject(int)
 
 o getObject(String)
 
 o getShort(int)
 
 o getShort(String)
 
 o getString(int)
 
 o getString(String)
 
 o getTime(int)
 
 o getTime(String)
 
 o getTimestamp(int)
 
 o getTimestamp(String)
 
 o getUnicodeStream(int)
 
 o getUnicodeStream(String)
 
 o getWarnings()
 
 o wasNull()
 

Constructor Detail

 o VTITemplate
public VTITemplate()

Method Detail

 o wasNull
public boolean wasNull() throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getString
public java.lang.String getString(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getBoolean
public boolean getBoolean(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getByte
public byte getByte(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getShort
public short getShort(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getInt
public int getInt(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getLong
public long getLong(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getFloat
public float getFloat(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getDouble
public double getDouble(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getBigDecimal
public java.math.BigDecimal getBigDecimal(int columnIndex,
                                int scale) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getBytes
public byte[] getBytes(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getDate
public java.sql.Date getDate(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getTime
public java.sql.Time getTime(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getAsciiStream
public java.io.InputStream getAsciiStream(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getUnicodeStream
public java.io.InputStream getUnicodeStream(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getBinaryStream
public java.io.InputStream getBinaryStream(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getString
public java.lang.String getString(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getBoolean
public boolean getBoolean(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getByte
public byte getByte(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getShort
public short getShort(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getInt
public int getInt(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getLong
public long getLong(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getFloat
public float getFloat(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getDouble
public double getDouble(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
                                int scale) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getBytes
public byte[] getBytes(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getDate
public java.sql.Date getDate(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getTime
public java.sql.Time getTime(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getAsciiStream
public java.io.InputStream getAsciiStream(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getUnicodeStream
public java.io.InputStream getUnicodeStream(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getBinaryStream
public java.io.InputStream getBinaryStream(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getWarnings
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o clearWarnings
public void clearWarnings() throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getCursorName
public java.lang.String getCursorName() throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getObject
public java.lang.Object getObject(int columnIndex) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o getObject
public java.lang.Object getObject(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet
 o findColumn
public int findColumn(java.lang.String columnName) throws java.sql.SQLException
Throws:
java.sql.SQLException - on unexpected JDBC error
See Also:
java.sql.ResultSet

  Class Hierarchy    Previous  Next  Index