Package org.apache.derby.catalog
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 java.sql.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 org.apache.derby.vti.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, unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.sql.PreparedStatement
executeLargeUpdate, setObject, setObject
Methods inherited from interface java.sql.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:
getMetaData
in interfacePreparedStatement
- Overrides:
getMetaData
in classUpdatableVTITemplate
- Throws:
SQLException
- on unexpected JDBC error- See Also:
-
executeQuery
- Specified by:
executeQuery
in interfacePreparedStatement
- Overrides:
executeQuery
in classUpdatableVTITemplate
- Throws:
SQLException
- on unexpected JDBC error- See Also:
-
getResultSetConcurrency
public int getResultSetConcurrency()- Specified by:
getResultSetConcurrency
in interfaceStatement
- Overrides:
getResultSetConcurrency
in classUpdatableVTITemplate
- See Also:
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceStatement
- Overrides:
close
in classUpdatableVTITemplate
- Throws:
SQLException
- on unexpected JDBC error- See Also:
-