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