Class Hierarchy        Index

Class COM.cloudscape.vti.VTITemplate

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

public abstract class VTITemplate
extends Object
implements ResultSet
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 close()
 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 getMetaData()
 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 next()
 o wasNull()

Constructors

 o VTITemplate
 public VTITemplate()

Methods

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

  Class Hierarchy        Index