All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JBMSTours.vti.jdbc1_2.ECTResult

java.lang.Object
   |
   +----COM.cloudscape.vti.VTITemplate
           |
           +----JBMSTours.vti.jdbc1_2.ECTResult

public class ECTResult
extends VTITemplate
Constructs an updatable result set for a table in an external Cloudscape database and is used by the read-write VTI class ExternalCloudscapeTable. Cloudscape does not support JDBC updatable ResultSets, so this class uses an updatable cursor to mimic the behavior of an updatable ResultSet.


Method Index

 o clearWarnings()
 o close()
Close the result set, all its resources, and commit the connection.
 o deleteRow()
Cloudscape calls this method for each row it deletes.
 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()
see java.sql.ResultSet
 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 insertRow()
Cloudscape calls this to insert a row (after calling moveToInsertRow for the row and updateObject for each column in the row).
 o moveToInsertRow()
Cloudscape calls this method before inserting a row.
 o next()
Get the next row from the cursor.
 o updateObject(int, Object)
Cloudscape calls this method for each column in the row being inserted.
 o wasNull()

Methods

 o getMetaData
 public ResultSetMetaData getMetaData() throws SQLException
see java.sql.ResultSet

Throws: SQLException
on unexpected JDBC error
Overrides:
getMetaData in class VTITemplate
 o close
 public void close() throws SQLException
Close the result set, all its resources, and commit the connection. Cloudscape calls this method when it is done executing the SQL statement that references the VTI class.

Throws: SQLException
on unexpected JDBC error
Overrides:
close in class VTITemplate
 o next
 public boolean next() throws SQLException
Get the next row from the cursor.

Throws: SQLException
on unexpected JDBC error
Overrides:
next in class VTITemplate
 o moveToInsertRow
 public void moveToInsertRow() throws SQLException
Cloudscape calls this method before inserting a row.

Throws: SQLException
on unexpected JDBC error
 o updateObject
 public void updateObject(int columnIndex,
                          Object x) throws SQLException
Cloudscape calls this method for each column in the row being inserted.

Throws: SQLException
on unexpected JDBC error
 o insertRow
 public void insertRow() throws SQLException
Cloudscape calls this to insert a row (after calling moveToInsertRow for the row and updateObject for each column in the row).

Throws: SQLException
on unexpected JDBC error
 o deleteRow
 public void deleteRow() throws SQLException
Cloudscape calls this method for each row it deletes.

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index