org.postgresql.pljava.jdbc
Class TriggerResultSet
- ResultSet
public class TriggerResultSet
A single row, updateable ResultSet specially made for triggers. The
changes made to this ResultSet are remembered and converted to a
SPI_modify_tuple call prior to function return.
absolute , afterLast , beforeFirst , deleteRow , findColumn , first , getConcurrency , getFetchDirection , getFetchSize , getMetaData , getRow , getTupleDesc , getType , insertRow , isAfterLast , isBeforeFirst , isFirst , isLast , last , moveToCurrentRow , moveToInsertRow , next , previous , relative , rowDeleted , rowInserted , setFetchDirection , setFetchSize , updateObject , updateRow |
clearWarnings , getArray , getAsciiStream , getBigDecimal , getBigDecimal , getBinaryStream , getBlob , getBoolean , getByte , getBytes , getCharacterStream , getClob , getDate , getDate , getDouble , getFloat , getInt , getLong , getMetaData , getNumber , getObject , getObject , getObjectValue , getObjectValue , getRef , getShort , getString , getTime , getTime , getTimestamp , getTimestamp , getURL , getUnicodeStream , getValue , getValue , getWarnings , refreshRow , updateArray , updateAsciiStream , updateBigDecimal , updateBinaryStream , updateBlob , updateBoolean , updateByte , updateBytes , updateCharacterStream , updateClob , updateDate , updateDouble , updateFloat , updateInt , updateLong , updateNull , updateRef , updateShort , updateString , updateTime , updateTimestamp , wasNull |
getArray , getAsciiStream , getBigDecimal , getBigDecimal , getBinaryStream , getBlob , getBoolean , getByte , getBytes , getCharacterStream , getClob , getCursorName , getDate , getDate , getDouble , getFloat , getInt , getLong , getObject , getObject , getRef , getShort , getStatement , getString , getTime , getTime , getTimestamp , getTimestamp , getURL , getUnicodeStream , updateArray , updateAsciiStream , updateBigDecimal , updateBinaryStream , updateBlob , updateBoolean , updateByte , updateBytes , updateCharacterStream , updateClob , updateDate , updateDouble , updateFloat , updateInt , updateLong , updateNull , updateObject , updateObject , updateRef , updateShort , updateString , updateTime , updateTimestamp |
TriggerResultSet
public TriggerResultSet(TupleDesc tupleDesc,
Tuple tuple,
boolean readOnly)
throws SQLException
cancelRowUpdates
public void cancelRowUpdates()
throws SQLException
Cancel all changes made to the Tuple.
close
public void close()
throws SQLException
Cancels all changes but doesn't really close the set.
getChangeIndexesAndValues
public Object[] getChangeIndexesAndValues()
Return a 2 element array describing the changes that has been made to
the contained Tuple. The first element is an int[]
containing
the index of each changed value. The second element is an Object[]
with containing the corresponding values.
- The 2 element array or
null
if no change has been made.
getConcurrency
public int getConcurrency()
throws SQLException
Returns the concurrency for this ResultSet.
- getConcurrency in interface SingleRowResultSet
java.sql.ResultSet.getConcurrency
rowUpdated
public boolean rowUpdated()
throws SQLException
Returns true
if this row has been updated.
updateObject
public void updateObject(int columnIndex,
Object x)
throws SQLException
Store this change for later use
Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \
Distributed under the terms shown in COPYRIGHT