org.postgresql.pljava.jdbc

Class ReadOnlyResultSet

Implemented Interfaces:
ResultSet

public abstract class ReadOnlyResultSet
extends ObjectResultSet

The ReadOnlyResultSet implements all methods that changes the ResultSet in any way as methods that yield an UnsupportedFeatureException.

Method Summary

void
cancelRowUpdates()
This feature is not supported on a ReadOnlyResultSet.
void
deleteRow()
This feature is not supported on a ReadOnlyResultSet.
int
getConcurrency()
Returns ResultSet.CONCUR_READ_ONLY.
void
insertRow()
This feature is not supported on a ReadOnlyResultSet.
void
moveToCurrentRow()
This is a no-op since the moveToInsertRow() method is unsupported.
void
moveToInsertRow()
This feature is not supported on a ReadOnlyResultSet.
boolean
rowDeleted()
Always returns false.
boolean
rowInserted()
Always returns false.
boolean
rowUpdated()
Always returns false.
void
updateObject(int columnIndex, Object x)
This feature is not supported on a ReadOnlyResultSet.
void
updateObject(int columnIndex, Object x, int scale)
This feature is not supported on a ReadOnlyResultSet.
void
updateRow()
This feature is not supported on a ReadOnlyResultSet.

Methods inherited from class org.postgresql.pljava.jdbc.ObjectResultSet

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

Methods inherited from class org.postgresql.pljava.jdbc.AbstractResultSet

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

Method Details

cancelRowUpdates

public void cancelRowUpdates()
            throws SQLException
This feature is not supported on a ReadOnlyResultSet.

deleteRow

public void deleteRow()
            throws SQLException
This feature is not supported on a ReadOnlyResultSet.

getConcurrency

public int getConcurrency()
            throws SQLException
Returns ResultSet.CONCUR_READ_ONLY.

insertRow

public void insertRow()
            throws SQLException
This feature is not supported on a ReadOnlyResultSet.

moveToCurrentRow

public void moveToCurrentRow()
            throws SQLException
This is a no-op since the moveToInsertRow() method is unsupported.

moveToInsertRow

public void moveToInsertRow()
            throws SQLException
This feature is not supported on a ReadOnlyResultSet.

rowDeleted

public boolean rowDeleted()
            throws SQLException
Always returns false.

rowInserted

public boolean rowInserted()
            throws SQLException
Always returns false.

rowUpdated

public boolean rowUpdated()
            throws SQLException
Always returns false.

updateObject

public void updateObject(int columnIndex,
                         Object x)
            throws SQLException
This feature is not supported on a ReadOnlyResultSet.

updateObject

public void updateObject(int columnIndex,
                         Object x,
                         int scale)
            throws SQLException
This feature is not supported on a ReadOnlyResultSet.

updateRow

public void updateRow()
            throws SQLException
This feature is not supported on a ReadOnlyResultSet.

Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \ Distributed under the terms shown in COPYRIGHT