Class Hierarchy Index
Class COM.cloudscape.vti20.VTITemplate
java.lang.Object
|
+----COM.cloudscape.vti.VTITemplate
|
+----COM.cloudscape.vti20.VTITemplate
- public abstract class VTITemplate
- extends VTITemplate
An abstract implementation of ResultSet (JDK1.2/JDBC 2.0) 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.
This class is for use with JDBC 2.0.
The methods not implemented here are
- next()
- close()
- getMetaData()
VTI implementation must provide an
implementation of the methods in this class.
-
VTITemplate()
-
-
absolute(int)
-
-
afterLast()
-
-
beforeFirst()
-
-
cancelRowUpdates()
-
-
deleteRow()
-
-
first()
-
-
getArray(int)
-
-
getArray(String)
-
-
getBigDecimal(int)
-
-
getBigDecimal(String)
-
-
getBlob(int)
-
-
getBlob(String)
-
-
getCharacterStream(int)
-
-
getCharacterStream(String)
-
-
getClob(int)
-
-
getClob(String)
-
-
getConcurrency()
-
-
getDate(int, Calendar)
-
-
getDate(String, Calendar)
-
-
getFetchDirection()
-
-
getFetchSize()
-
-
getObject(int, Map)
-
-
getObject(String, Map)
-
-
getRef(int)
-
-
getRef(String)
-
-
getRow()
-
-
getStatement()
-
-
getTime(int, Calendar)
-
-
getTime(String, Calendar)
-
-
getTimestamp(int, Calendar)
-
-
getTimestamp(String, Calendar)
-
-
getType()
-
-
insertRow()
-
-
isAfterLast()
-
-
isBeforeFirst()
-
-
isFirst()
-
-
isLast()
-
-
last()
-
-
moveToCurrentRow()
-
-
moveToInsertRow()
-
-
previous()
-
-
refreshRow()
-
-
relative(int)
-
-
rowDeleted()
-
-
rowInserted()
-
-
rowUpdated()
-
-
setFetchDirection(int)
-
-
setFetchSize(int)
-
-
updateAsciiStream(int, InputStream, int)
-
-
updateAsciiStream(String, InputStream, int)
-
-
updateBigDecimal(int, BigDecimal)
-
-
updateBigDecimal(String, BigDecimal)
-
-
updateBinaryStream(int, InputStream, int)
-
-
updateBinaryStream(String, InputStream, int)
-
-
updateBoolean(int, boolean)
-
-
updateBoolean(String, boolean)
-
-
updateByte(int, byte)
-
-
updateByte(String, byte)
-
-
updateBytes(int, byte[])
-
-
updateBytes(String, byte[])
-
-
updateCharacterStream(int, Reader, int)
-
-
updateCharacterStream(String, Reader, int)
-
-
updateDate(int, Date)
-
-
updateDate(String, Date)
-
-
updateDouble(int, double)
-
-
updateDouble(String, double)
-
-
updateFloat(int, float)
-
-
updateFloat(String, float)
-
-
updateInt(int, int)
-
-
updateInt(String, int)
-
-
updateLong(int, long)
-
-
updateLong(String, long)
-
-
updateNull(int)
-
-
updateNull(String)
-
-
updateObject(int, Object)
-
-
updateObject(int, Object, int)
-
-
updateObject(String, Object)
-
-
updateObject(String, Object, int)
-
-
updateRow()
-
-
updateShort(int, short)
-
-
updateShort(String, short)
-
-
updateString(int, String)
-
-
updateString(String, String)
-
-
updateTime(int, Time)
-
-
updateTime(String, Time)
-
-
updateTimestamp(int, Timestamp)
-
-
updateTimestamp(String, Timestamp)
-
VTITemplate
public VTITemplate()
getCharacterStream
public Reader getCharacterStream(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getCharacterStream
public Reader getCharacterStream(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getBigDecimal
public BigDecimal getBigDecimal(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getBigDecimal
public BigDecimal getBigDecimal(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
isBeforeFirst
public boolean isBeforeFirst() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
isAfterLast
public boolean isAfterLast() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
isFirst
public boolean isFirst() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
isLast
public boolean isLast() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
beforeFirst
public void beforeFirst() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
afterLast
public void afterLast() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
first
public boolean first() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
last
public boolean last() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getRow
public int getRow() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
absolute
public boolean absolute(int row) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
relative
public boolean relative(int rows) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
previous
public boolean previous() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
setFetchDirection
public void setFetchDirection(int direction) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getFetchDirection
public int getFetchDirection() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
setFetchSize
public void setFetchSize(int rows) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getFetchSize
public int getFetchSize() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getType
public int getType() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getConcurrency
public int getConcurrency() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
rowUpdated
public boolean rowUpdated() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
rowInserted
public boolean rowInserted() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
rowDeleted
public boolean rowDeleted() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateNull
public void updateNull(int columnIndex) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateBoolean
public void updateBoolean(int columnIndex,
boolean x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateByte
public void updateByte(int columnIndex,
byte x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateShort
public void updateShort(int columnIndex,
short x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateInt
public void updateInt(int columnIndex,
int x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateLong
public void updateLong(int columnIndex,
long x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateFloat
public void updateFloat(int columnIndex,
float x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateDouble
public void updateDouble(int columnIndex,
double x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateBigDecimal
public void updateBigDecimal(int columnIndex,
BigDecimal x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateString
public void updateString(int columnIndex,
String x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateBytes
public void updateBytes(int columnIndex,
byte x[]) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateDate
public void updateDate(int columnIndex,
Date x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateTime
public void updateTime(int columnIndex,
Time x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateTimestamp
public void updateTimestamp(int columnIndex,
Timestamp x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateAsciiStream
public void updateAsciiStream(int columnIndex,
InputStream x,
int length) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateBinaryStream
public void updateBinaryStream(int columnIndex,
InputStream x,
int length) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateCharacterStream
public void updateCharacterStream(int columnIndex,
Reader x,
int length) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateObject
public void updateObject(int columnIndex,
Object x,
int scale) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateObject
public void updateObject(int columnIndex,
Object x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateNull
public void updateNull(String columnName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateBoolean
public void updateBoolean(String columnName,
boolean x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateByte
public void updateByte(String columnName,
byte x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateShort
public void updateShort(String columnName,
short x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateInt
public void updateInt(String columnName,
int x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateLong
public void updateLong(String columnName,
long x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateFloat
public void updateFloat(String columnName,
float x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateDouble
public void updateDouble(String columnName,
double x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateBigDecimal
public void updateBigDecimal(String columnName,
BigDecimal x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateString
public void updateString(String columnName,
String x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateBytes
public void updateBytes(String columnName,
byte x[]) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateDate
public void updateDate(String columnName,
Date x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateTime
public void updateTime(String columnName,
Time x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateTimestamp
public void updateTimestamp(String columnName,
Timestamp x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateAsciiStream
public void updateAsciiStream(String columnName,
InputStream x,
int length) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateBinaryStream
public void updateBinaryStream(String columnName,
InputStream x,
int length) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateCharacterStream
public void updateCharacterStream(String columnName,
Reader x,
int length) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateObject
public void updateObject(String columnName,
Object x,
int scale) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateObject
public void updateObject(String columnName,
Object x) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
insertRow
public void insertRow() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
updateRow
public void updateRow() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
deleteRow
public void deleteRow() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
refreshRow
public void refreshRow() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
cancelRowUpdates
public void cancelRowUpdates() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
moveToInsertRow
public void moveToInsertRow() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
moveToCurrentRow
public void moveToCurrentRow() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getStatement
public Statement getStatement() throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getObject
public Object getObject(int i,
Map map) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getRef
public Ref getRef(int i) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getBlob
public Blob getBlob(int i) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getClob
public Clob getClob(int i) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getArray
public Array getArray(int i) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getObject
public Object getObject(String colName,
Map map) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getRef
public Ref getRef(String colName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getBlob
public Blob getBlob(String colName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getClob
public Clob getClob(String colName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getArray
public Array getArray(String colName) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getDate
public Date getDate(int columnIndex,
Calendar cal) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getDate
public Date getDate(String columnName,
Calendar cal) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getTime
public Time getTime(int columnIndex,
Calendar cal) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getTime
public Time getTime(String columnName,
Calendar cal) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getTimestamp
public Timestamp getTimestamp(int columnIndex,
Calendar cal) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
getTimestamp
public Timestamp getTimestamp(String columnName,
Calendar cal) throws SQLException
- Throws: SQLException
- on unexpected JDBC error
- See Also:
- ResultSet
Class Hierarchy Index