org.postgresql.pljava.jdbc
Class SingleRowWriter
- ResultSet
public class SingleRowWriter
A single row, updateable ResultSet, specially made for functions and
procedures that returns complex types or sets.
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 |
SingleRowWriter
public SingleRowWriter(TupleDesc tupleDesc)
throws SQLException
cancelRowUpdates
public void cancelRowUpdates()
throws SQLException
close
public void close()
throws SQLException
Cancels all changes but doesn't really close the set.
copyRowFrom
public void copyRowFrom(ResultSet rs)
throws SQLException
getTupleAndClear
public long getTupleAndClear()
throws SQLException
Creates a tuple from the current row values and then cancel all row
updates to prepare for a new row. This method is called automatically by
the trigger handler and should not be called in any other way.
- The native pointer of the Tuple reflecting the current row
values.
rowUpdated
public boolean rowUpdated()
throws SQLException
Returns true
if the row contains any non null
values since all values of the row are null
initially.
updateObject
public void updateObject(int columnIndex,
Object x)
throws SQLException
Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \
Distributed under the terms shown in COPYRIGHT