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.
-
clearWarnings()
-
-
close()
- Close the result set, all its resources, and commit the connection.
-
deleteRow()
- Cloudscape calls this method for each row it deletes.
-
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()
- see java.sql.ResultSet
-
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()
-
-
insertRow()
- Cloudscape calls this to insert a row (after calling moveToInsertRow for the row
and updateObject for each column in the row).
-
moveToInsertRow()
- Cloudscape calls this method before inserting a row.
-
next()
- Get the next row from the cursor.
-
updateObject(int, Object)
- Cloudscape calls this method for each column in the row being inserted.
-
wasNull()
-
getMetaData
public ResultSetMetaData getMetaData() throws SQLException
- see java.sql.ResultSet
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getMetaData in class VTITemplate
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
next
public boolean next() throws SQLException
- Get the next row from the cursor.
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- next in class VTITemplate
moveToInsertRow
public void moveToInsertRow() throws SQLException
- Cloudscape calls this method before inserting a row.
- Throws: SQLException
- on unexpected JDBC error
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
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
deleteRow
public void deleteRow() throws SQLException
- Cloudscape calls this method for each row it deletes.
- Throws: SQLException
- on unexpected JDBC error
wasNull
public boolean wasNull() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- wasNull in class VTITemplate
getString
public String getString(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getString in class VTITemplate
getBoolean
public boolean getBoolean(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getBoolean in class VTITemplate
getByte
public byte getByte(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getByte in class VTITemplate
getShort
public short getShort(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getShort in class VTITemplate
getInt
public int getInt(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getInt in class VTITemplate
getLong
public long getLong(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getLong in class VTITemplate
getFloat
public float getFloat(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getFloat in class VTITemplate
getDouble
public double getDouble(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getDouble in class VTITemplate
getBigDecimal
public BigDecimal getBigDecimal(int columnIndex,
int scale) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getBigDecimal in class VTITemplate
getBytes
public byte[] getBytes(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getBytes in class VTITemplate
getDate
public Date getDate(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getDate in class VTITemplate
getTime
public Time getTime(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getTime in class VTITemplate
getTimestamp
public Timestamp getTimestamp(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getTimestamp in class VTITemplate
getAsciiStream
public InputStream getAsciiStream(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getAsciiStream in class VTITemplate
getUnicodeStream
public InputStream getUnicodeStream(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getUnicodeStream in class VTITemplate
getBinaryStream
public InputStream getBinaryStream(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getBinaryStream in class VTITemplate
getString
public String getString(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getString in class VTITemplate
getBoolean
public boolean getBoolean(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getBoolean in class VTITemplate
getByte
public byte getByte(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getByte in class VTITemplate
getShort
public short getShort(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getShort in class VTITemplate
getInt
public int getInt(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getInt in class VTITemplate
getLong
public long getLong(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getLong in class VTITemplate
getFloat
public float getFloat(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getFloat in class VTITemplate
getDouble
public double getDouble(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getDouble in class VTITemplate
getBigDecimal
public BigDecimal getBigDecimal(String columnName,
int scale) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getBigDecimal in class VTITemplate
getBytes
public byte[] getBytes(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getBytes in class VTITemplate
getDate
public Date getDate(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getDate in class VTITemplate
getTime
public Time getTime(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getTime in class VTITemplate
getTimestamp
public Timestamp getTimestamp(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getTimestamp in class VTITemplate
getAsciiStream
public InputStream getAsciiStream(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getAsciiStream in class VTITemplate
getUnicodeStream
public InputStream getUnicodeStream(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getUnicodeStream in class VTITemplate
getBinaryStream
public InputStream getBinaryStream(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getBinaryStream in class VTITemplate
getWarnings
public SQLWarning getWarnings() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getWarnings in class VTITemplate
clearWarnings
public void clearWarnings() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- clearWarnings in class VTITemplate
getCursorName
public String getCursorName() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getCursorName in class VTITemplate
getObject
public Object getObject(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getObject in class VTITemplate
getObject
public Object getObject(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- Overrides:
- getObject in class VTITemplate
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