| java.lang.Object org.apache.derby.vti.VTITemplate
All known Subclasses: org.apache.derby.diag.StatementCache, org.apache.derby.diag.ErrorLogReader, org.apache.derby.catalog.GetProcedureColumns, org.apache.derby.diag.SpaceTable, org.apache.derby.diag.StatementDuration, org.apache.derbyTesting.functionTests.tests.lang.WiscVTI, org.apache.derby.diag.TransactionTable, org.apache.derby.diag.ErrorMessages, org.apache.derby.diag.LockTable, org.apache.derby.impl.load.ImportAbstract,
VTITemplate | abstract public class VTITemplate implements ResultSet(Code) | | An abstract implementation of ResultSet (JDK1.1/JDBC 1.2) that is useful
when writing a read-only VTI (virtual table interface) or for
the ResultSet returned by executeQuery in read-write VTI classes.
This class implements most of the methods of the JDBC 1.2 interface java.sql.ResultSet,
each one throwing a SQLException with the name of the method.
A concrete subclass 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()
For virtual tables the database engine only calls methods defined
in the JDBC 1.2 definition of java.sql.ResultSet.
Classes that implement a JDBC 2.0 conformant java.sql.ResultSet can be used
as virtual tables.
|
Method Summary | |
public boolean | absolute(int row) | public void | afterLast() | public void | beforeFirst() | public void | cancelRowUpdates() | public void | clearWarnings() | public void | deleteRow() | public int | findColumn(String columnName) | public boolean | first() | public Array | getArray(int i) | public Array | getArray(String colName) | public java.io.InputStream | getAsciiStream(int columnIndex) | public java.io.InputStream | getAsciiStream(String columnName) | public BigDecimal | getBigDecimal(int columnIndex, int scale) | public BigDecimal | getBigDecimal(String columnName, int scale) | public BigDecimal | getBigDecimal(int columnIndex) | public BigDecimal | getBigDecimal(String columnName) | public java.io.InputStream | getBinaryStream(int columnIndex) | public java.io.InputStream | getBinaryStream(String columnName) | public Blob | getBlob(int i) | public Blob | getBlob(String colName) | public boolean | getBoolean(int columnIndex) | public boolean | getBoolean(String columnName) | public byte | getByte(int columnIndex) | public byte | getByte(String columnName) | public byte[] | getBytes(int columnIndex) | public byte[] | getBytes(String columnName) | public java.io.Reader | getCharacterStream(int columnIndex) | public java.io.Reader | getCharacterStream(String columnName) | public Clob | getClob(int i) | public Clob | getClob(String colName) | public int | getConcurrency() | public String | getCursorName() | public java.sql.Date | getDate(int columnIndex) | public java.sql.Date | getDate(String columnName) | public java.sql.Date | getDate(int columnIndex, Calendar cal) | public java.sql.Date | getDate(String columnName, Calendar cal) | public double | getDouble(int columnIndex) | public double | getDouble(String columnName) | public int | getFetchDirection() | public int | getFetchSize() | public float | getFloat(int columnIndex) | public float | getFloat(String columnName) | public int | getInt(int columnIndex) | public int | getInt(String columnName) | public long | getLong(int columnIndex) | public long | getLong(String columnName) | public Object | getObject(int columnIndex) | public Object | getObject(String columnName) | public Object | getObject(int i, java.util.Map map) | public Object | getObject(String colName, java.util.Map map) | public Ref | getRef(int i) | public Ref | getRef(String colName) | public int | getRow() | public short | getShort(int columnIndex) | public short | getShort(String columnName) | public Statement | getStatement() | public String | getString(int columnIndex) | public String | getString(String columnName) | public java.sql.Time | getTime(int columnIndex) | public java.sql.Time | getTime(String columnName) | public java.sql.Time | getTime(int columnIndex, Calendar cal) | public java.sql.Time | getTime(String columnName, Calendar cal) | public java.sql.Timestamp | getTimestamp(int columnIndex) | public java.sql.Timestamp | getTimestamp(String columnName) | public java.sql.Timestamp | getTimestamp(int columnIndex, Calendar cal) | public java.sql.Timestamp | getTimestamp(String columnName, Calendar cal) | public int | getType() | public URL | getURL(int columnIndex) | public URL | getURL(String columnName) | public java.io.InputStream | getUnicodeStream(int columnIndex) | public java.io.InputStream | getUnicodeStream(String columnName) | public SQLWarning | getWarnings() | public void | insertRow() | public boolean | isAfterLast() | public boolean | isBeforeFirst() | public boolean | isFirst() | public boolean | isLast() | public boolean | last() | public void | moveToCurrentRow() | public void | moveToInsertRow() | public boolean | previous() | public void | refreshRow() | public boolean | relative(int rows) | public boolean | rowDeleted() | public boolean | rowInserted() | public boolean | rowUpdated() | public void | setFetchDirection(int direction) | public void | setFetchSize(int rows) | public void | updateArray(int columnIndex, Array x) | public void | updateArray(String columnName, Array x) | public void | updateAsciiStream(int columnIndex, java.io.InputStream x, int length) | public void | updateAsciiStream(String columnName, java.io.InputStream x, int length) | public void | updateBigDecimal(int columnIndex, BigDecimal x) | public void | updateBigDecimal(String columnName, BigDecimal x) | public void | updateBinaryStream(int columnIndex, java.io.InputStream x, int length) | public void | updateBinaryStream(String columnName, java.io.InputStream x, int length) | public void | updateBlob(int columnIndex, Blob x) | public void | updateBlob(String columnName, Blob x) | public void | updateBoolean(int columnIndex, boolean x) | public void | updateBoolean(String columnName, boolean x) | public void | updateByte(int columnIndex, byte x) | public void | updateByte(String columnName, byte x) | public void | updateBytes(int columnIndex, byte[] x) | public void | updateBytes(String columnName, byte[] x) | public void | updateCharacterStream(int columnIndex, java.io.Reader x, int length) | public void | updateCharacterStream(String columnName, java.io.Reader x, int length) | public void | updateClob(int columnIndex, Clob x) | public void | updateClob(String columnName, Clob x) | public void | updateDate(int columnIndex, java.sql.Date x) | public void | updateDate(String columnName, java.sql.Date x) | public void | updateDouble(int columnIndex, double x) | public void | updateDouble(String columnName, double x) | public void | updateFloat(int columnIndex, float x) | public void | updateFloat(String columnName, float x) | public void | updateInt(int columnIndex, int x) | public void | updateInt(String columnName, int x) | public void | updateLong(int columnIndex, long x) | public void | updateLong(String columnName, long x) | public void | updateNull(int columnIndex) | public void | updateNull(String columnName) | public void | updateObject(int columnIndex, Object x, int scale) | public void | updateObject(int columnIndex, Object x) | public void | updateObject(String columnName, Object x, int scale) | public void | updateObject(String columnName, Object x) | public void | updateRef(int columnIndex, Ref x) | public void | updateRef(String columnName, Ref x) | public void | updateRow() | public void | updateShort(int columnIndex, short x) | public void | updateShort(String columnName, short x) | public void | updateString(int columnIndex, String x) | public void | updateString(String columnName, String x) | public void | updateTime(int columnIndex, java.sql.Time x) | public void | updateTime(String columnName, java.sql.Time x) | public void | updateTimestamp(int columnIndex, java.sql.Timestamp x) | public void | updateTimestamp(String columnName, java.sql.Timestamp x) | public boolean | wasNull() |
|
|