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
- next()
- close()
- getMetaData()
VTI implementation must provide an
implementation of the methods in this class.
VTITemplate()
-
clearWarnings()
-
findColumn(String)
-
getAsciiStream(int)
-
getAsciiStream(String)
-
getBigDecimal(int, int)
-
getBigDecimal(String, int)
-
getBinaryStream(int)
-
getBinaryStream(String)
-
getBoolean(int)
-
getBoolean(String)
-
getByte(int)
-
getByte(String)
-
getBytes(int)
-
getBytes(String)
-
getCursorName()
-
getDate(int)
-
getDate(String)
-
getDouble(int)
-
getDouble(String)
-
getFloat(int)
-
getFloat(String)
-
getInt(int)
-
getInt(String)
-
getLong(int)
-
getLong(String)
-
getObject(int)
-
getObject(String)
-
getShort(int)
-
getShort(String)
-
getString(int)
-
getString(String)
-
getTime(int)
-
getTime(String)
-
getTimestamp(int)
-
getTimestamp(String)
-
getUnicodeStream(int)
-
getUnicodeStream(String)
-
getWarnings()
-
wasNull()
-
VTITemplate
public VTITemplate()
wasNull
public boolean wasNull() throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
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
getBoolean
public boolean getBoolean(int columnIndex) throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
getByte
public byte getByte(int columnIndex) throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
getShort
public short getShort(int columnIndex) throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
getInt
public int getInt(int columnIndex) throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
getLong
public long getLong(int columnIndex) throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
getFloat
public float getFloat(int columnIndex) throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
getDouble
public double getDouble(int columnIndex) throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
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
getBytes
public byte[] getBytes(int columnIndex) throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
getWarnings
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
clearWarnings
public void clearWarnings() throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
getCursorName
public java.lang.String getCursorName() throws java.sql.SQLException
- Throws:
- java.sql.SQLException - on unexpected JDBC error
- See Also:
- java.sql.ResultSet
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
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
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