org.apache.derby.catalog
Class TriggerOldTransitionRows
java.lang.Object
org.apache.derby.vti.VTITemplate
org.apache.derby.catalog.TriggerOldTransitionRows
- All Implemented Interfaces:
- java.sql.ResultSet
- public class TriggerOldTransitionRows
- extends VTITemplate
Provides information about a set of rows before a trigger action
changed them.
This class implements only JDBC 1.2, not JDBC 2.0. You cannot
compile this class with JDK1.2, since it implements only the
JDBC 1.2 ResultSet interface and not the JDBC 2.0 ResultSet
interface. You can only use this class in a JDK 1.2 runtime
environment if no JDBC 2.0 calls are made against it.
- Author:
- jamie
|
Field Summary |
private java.sql.ResultSet |
resultSet
|
| Fields inherited from interface java.sql.ResultSet |
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
| Methods inherited from class org.apache.derby.vti.VTITemplate |
absolute, afterLast, beforeFirst, cancelRowUpdates, deleteRow, first, getArray, getArray, getBigDecimal, getBigDecimal, getBlob, getBlob, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getDate, getDate, getFetchDirection, getFetchSize, getObject, getObject, getRef, getRef, getRow, getStatement, getTime, getTime, getTimestamp, getTimestamp, getType, getURL, getURL, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resultSet
private java.sql.ResultSet resultSet
TriggerOldTransitionRows
public TriggerOldTransitionRows()
throws java.sql.SQLException
- Construct a VTI on the trigger's old row set.
The old row set is the before image of the rows
that are changed by the trigger. For a trigger
on a delete, this is all the rows that are deleted.
For a trigger on an update, this is the rows before
they are updated. For an insert, this throws an
exception.
- Throws:
java.sql.SQLException - thrown if no trigger active
getResultSetMetaData
public static java.sql.ResultSetMetaData getResultSetMetaData()
throws java.sql.SQLException
- Provide the metadata for VTI interface.
- Throws:
java.sql.SQLException - on unexpected JDBC error
next
public boolean next()
throws java.sql.SQLException
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
close
public void close()
throws java.sql.SQLException
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
wasNull
public boolean wasNull()
throws java.sql.SQLException
- Specified by:
wasNull in interface java.sql.ResultSet- Overrides:
wasNull in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getString
public java.lang.String getString(int columnIndex)
throws java.sql.SQLException
- Specified by:
getString in interface java.sql.ResultSet- Overrides:
getString in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getBoolean
public boolean getBoolean(int columnIndex)
throws java.sql.SQLException
- Specified by:
getBoolean in interface java.sql.ResultSet- Overrides:
getBoolean in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getByte
public byte getByte(int columnIndex)
throws java.sql.SQLException
- Specified by:
getByte in interface java.sql.ResultSet- Overrides:
getByte in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getShort
public short getShort(int columnIndex)
throws java.sql.SQLException
- Specified by:
getShort in interface java.sql.ResultSet- Overrides:
getShort in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getInt
public int getInt(int columnIndex)
throws java.sql.SQLException
- Specified by:
getInt in interface java.sql.ResultSet- Overrides:
getInt in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getLong
public long getLong(int columnIndex)
throws java.sql.SQLException
- Specified by:
getLong in interface java.sql.ResultSet- Overrides:
getLong in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getFloat
public float getFloat(int columnIndex)
throws java.sql.SQLException
- Specified by:
getFloat in interface java.sql.ResultSet- Overrides:
getFloat in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getDouble
public double getDouble(int columnIndex)
throws java.sql.SQLException
- Specified by:
getDouble in interface java.sql.ResultSet- Overrides:
getDouble in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getBigDecimal
public java.math.BigDecimal getBigDecimal(int columnIndex,
int scale)
throws java.sql.SQLException
- Specified by:
getBigDecimal in interface java.sql.ResultSet- Overrides:
getBigDecimal in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getBytes
public byte[] getBytes(int columnIndex)
throws java.sql.SQLException
- Specified by:
getBytes in interface java.sql.ResultSet- Overrides:
getBytes in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getDate
public java.sql.Date getDate(int columnIndex)
throws java.sql.SQLException
- Specified by:
getDate in interface java.sql.ResultSet- Overrides:
getDate in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getTime
public java.sql.Time getTime(int columnIndex)
throws java.sql.SQLException
- Specified by:
getTime in interface java.sql.ResultSet- Overrides:
getTime in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex)
throws java.sql.SQLException
- Specified by:
getTimestamp in interface java.sql.ResultSet- Overrides:
getTimestamp in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getAsciiStream
public java.io.InputStream getAsciiStream(int columnIndex)
throws java.sql.SQLException
- Specified by:
getAsciiStream in interface java.sql.ResultSet- Overrides:
getAsciiStream in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getUnicodeStream
public java.io.InputStream getUnicodeStream(int columnIndex)
throws java.sql.SQLException
- Specified by:
getUnicodeStream in interface java.sql.ResultSet- Overrides:
getUnicodeStream in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getBinaryStream
public java.io.InputStream getBinaryStream(int columnIndex)
throws java.sql.SQLException
- Specified by:
getBinaryStream in interface java.sql.ResultSet- Overrides:
getBinaryStream in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getString
public java.lang.String getString(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getString in interface java.sql.ResultSet- Overrides:
getString in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getBoolean
public boolean getBoolean(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getBoolean in interface java.sql.ResultSet- Overrides:
getBoolean in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getByte
public byte getByte(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getByte in interface java.sql.ResultSet- Overrides:
getByte in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getShort
public short getShort(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getShort in interface java.sql.ResultSet- Overrides:
getShort in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getInt
public int getInt(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getInt in interface java.sql.ResultSet- Overrides:
getInt in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getLong
public long getLong(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getLong in interface java.sql.ResultSet- Overrides:
getLong in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getFloat
public float getFloat(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getFloat in interface java.sql.ResultSet- Overrides:
getFloat in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getDouble
public double getDouble(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getDouble in interface java.sql.ResultSet- Overrides:
getDouble in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getBigDecimal
public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
int scale)
throws java.sql.SQLException
- Specified by:
getBigDecimal in interface java.sql.ResultSet- Overrides:
getBigDecimal in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getBytes
public byte[] getBytes(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getBytes in interface java.sql.ResultSet- Overrides:
getBytes in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getDate
public java.sql.Date getDate(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getDate in interface java.sql.ResultSet- Overrides:
getDate in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getTime
public java.sql.Time getTime(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getTime in interface java.sql.ResultSet- Overrides:
getTime in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getTimestamp
public java.sql.Timestamp getTimestamp(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getTimestamp in interface java.sql.ResultSet- Overrides:
getTimestamp in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getAsciiStream
public java.io.InputStream getAsciiStream(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getAsciiStream in interface java.sql.ResultSet- Overrides:
getAsciiStream in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getUnicodeStream
public java.io.InputStream getUnicodeStream(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getUnicodeStream in interface java.sql.ResultSet- Overrides:
getUnicodeStream in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getBinaryStream
public java.io.InputStream getBinaryStream(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getBinaryStream in interface java.sql.ResultSet- Overrides:
getBinaryStream in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getWarnings
public java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
- Specified by:
getWarnings in interface java.sql.ResultSet- Overrides:
getWarnings in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
clearWarnings
public void clearWarnings()
throws java.sql.SQLException
- Specified by:
clearWarnings in interface java.sql.ResultSet- Overrides:
clearWarnings in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getCursorName
public java.lang.String getCursorName()
throws java.sql.SQLException
- Specified by:
getCursorName in interface java.sql.ResultSet- Overrides:
getCursorName in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getMetaData
public java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getObject
public java.lang.Object getObject(int columnIndex)
throws java.sql.SQLException
- Specified by:
getObject in interface java.sql.ResultSet- Overrides:
getObject in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
getObject
public java.lang.Object getObject(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
getObject in interface java.sql.ResultSet- Overrides:
getObject in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
findColumn
public int findColumn(java.lang.String columnName)
throws java.sql.SQLException
- Specified by:
findColumn in interface java.sql.ResultSet- Overrides:
findColumn in class VTITemplate
- Throws:
java.sql.SQLException - on unexpected JDBC error- See Also:
ResultSet
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.