Class TriggerNewTransitionRows
java.lang.Object
org.apache.derby.vti.UpdatableVTITemplate
org.apache.derby.catalog.TriggerNewTransitionRows
- All Implemented Interfaces:
AutoCloseable, PreparedStatement, Statement, Wrapper
Provides information about about a a set of new rows created by a
trigger action.
You can only use this class if no JDBC 2.0 or later calls are made against it.
-
Field Summary
FieldsFields inherited from interface Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class UpdatableVTITemplate
addBatch, addBatch, cancel, clearBatch, clearParameters, clearWarnings, closeOnCompletion, execute, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setPoolable, setQueryTimeout, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, unwrapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PreparedStatement
executeLargeUpdate, setObject, setObjectMethods inherited from interface Statement
enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isSimpleIdentifier, setLargeMaxRows
-
Field Details
-
resultSet
-
-
Constructor Details
-
TriggerNewTransitionRows
Construct a VTI on the trigger's new row set. The new row set is the after image of the rows that are changed by the trigger. For a trigger on a delete, this throws an exception. For a trigger on an update, this is the rows after they are updated. For an insert, this is the rows that are inserted.- Throws:
SQLException- thrown if no trigger active
-
-
Method Details
-
initializeResultSet
- Throws:
SQLException
-
getMetaData
- Specified by:
getMetaDatain interfacePreparedStatement- Overrides:
getMetaDatain classUpdatableVTITemplate- Throws:
SQLException- on unexpected JDBC error- See Also:
-
executeQuery
- Specified by:
executeQueryin interfacePreparedStatement- Overrides:
executeQueryin classUpdatableVTITemplate- Throws:
SQLException- on unexpected JDBC error- See Also:
-
getResultSetConcurrency
public int getResultSetConcurrency()- Specified by:
getResultSetConcurrencyin interfaceStatement- Overrides:
getResultSetConcurrencyin classUpdatableVTITemplate- See Also:
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceStatement- Overrides:
closein classUpdatableVTITemplate- Throws:
SQLException- on unexpected JDBC error- See Also:
-