jxDBCon 0.9z

org.sourceforge.jxdbcon
Class AbstractResultSetRO

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.AbstractResultSet
        |
        +--org.sourceforge.jxdbcon.AbstractResultSetRO
All Implemented Interfaces:
ResultSet
Direct Known Subclasses:
AbstractRowsResultSet, PGCursorResultSet

public abstract class AbstractResultSetRO
extends AbstractResultSet

AbstractResultSetRO extends AbstractResultSet for read-only sets. All the update methods throw an exception.

Version:
$Revision: 1.9 $, $Date: 2002/03/16 01:26:07 $
Author:
Keve Müller

Field Summary
 
Fields inherited from class org.sourceforge.jxdbcon.AbstractResultSet
fetchDirection, fetchSize, isClosed, resContext, resData, resTypes
 
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
 
Constructor Summary
protected AbstractResultSetRO(int fetchDirection, int resultSetType, ConversionContext resContext, AbstractType[] resTypes)
           
 
Method Summary
 void cancelRowUpdates()
           
 void deleteRow()
           
 int getConcurrency()
           
 void insertRow()
           
 void moveToCurrentRow()
           
 void moveToInsertRow()
           
 void refreshRow()
           
 boolean rowDeleted()
           
 boolean rowInserted()
           
 boolean rowUpdated()
           
 void updateArray(int columnIndex, Array val)
           
 void updateArray(String columnName, Array val)
           
 void updateAsciiStream(int columnIndex, InputStream val, int length)
           
 void updateAsciiStream(String columnName, InputStream val, int length)
           
 void updateBigDecimal(int columnIndex, BigDecimal val)
           
 void updateBigDecimal(String columnName, BigDecimal val)
           
 void updateBinaryStream(int columnIndex, InputStream val, int length)
           
 void updateBinaryStream(String columnName, InputStream val, int length)
           
 void updateBlob(int columnIndex, Blob val)
           
 void updateBlob(String columnName, Blob val)
           
 void updateBoolean(int columnIndex, boolean val)
           
 void updateBoolean(String columnName, boolean val)
           
 void updateByte(int columnIndex, byte val)
           
 void updateByte(String columnName, byte val)
           
 void updateBytes(int columnIndex, byte[] val)
           
 void updateBytes(String columnName, byte[] val)
           
 void updateCharacterStream(int columnIndex, Reader val, int length)
           
 void updateCharacterStream(String columnName, Reader reader, int length)
           
 void updateClob(int columnIndex, Clob val)
           
 void updateClob(String columnName, Clob val)
           
 void updateDate(int columnIndex, Date val)
           
 void updateDate(String columnName, Date val)
           
 void updateDouble(int columnIndex, double val)
           
 void updateDouble(String columnName, double val)
           
 void updateFloat(int columnIndex, float val)
           
 void updateFloat(String columnName, float val)
           
 void updateInt(int columnIndex, int val)
           
 void updateInt(String columnName, int val)
           
 void updateLong(int columnIndex, long val)
           
 void updateLong(String columnName, long val)
           
 void updateNull(int columnIndex)
           
 void updateNull(String columnName)
           
 void updateObject(int columnIndex, Object val)
           
 void updateObject(int columnIndex, Object val, int scale)
           
 void updateObject(String columnName, Object val)
           
 void updateObject(String columnName, Object val, int scale)
           
 void updateRef(int columnIndex, Ref val)
           
 void updateRef(String columnName, Ref val)
           
 void updateRow()
           
 void updateShort(int columnIndex, short val)
           
 void updateShort(String columnName, short val)
           
 void updateString(int columnIndex, String val)
           
 void updateString(String columnName, String val)
           
 void updateTime(int columnIndex, Time val)
           
 void updateTime(String columnName, Time val)
           
 void updateTimestamp(int columnIndex, Timestamp val)
           
 void updateTimestamp(String columnName, Timestamp val)
           
 
Methods inherited from class org.sourceforge.jxdbcon.AbstractResultSet
clearWarnings, close, finalize, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getContext, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getObject, getObject, getObject, getRef, getRef, getShort, getShort, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getType, getURL, getURL, getWarnings, setFetchDirection, setFetchSize, wasNull
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.ResultSet
absolute, afterLast, beforeFirst, first, getBigDecimal, getBigDecimal, getCursorName, getMetaData, getRow, getStatement, getUnicodeStream, getUnicodeStream, isAfterLast, isBeforeFirst, isFirst, isLast, last, next, previous, relative
 

Constructor Detail

AbstractResultSetRO

protected AbstractResultSetRO(int fetchDirection,
                              int resultSetType,
                              ConversionContext resContext,
                              AbstractType[] resTypes)
Method Detail

cancelRowUpdates

public final void cancelRowUpdates()
                            throws SQLException
SQLException

deleteRow

public final void deleteRow()
                     throws SQLException
SQLException

getConcurrency

public final int getConcurrency()

insertRow

public final void insertRow()
                     throws SQLException
SQLException

moveToCurrentRow

public final void moveToCurrentRow()
                            throws SQLException
SQLException

moveToInsertRow

public final void moveToInsertRow()
                           throws SQLException
SQLException

refreshRow

public final void refreshRow()
                      throws SQLException
SQLException

rowDeleted

public final boolean rowDeleted()
                         throws SQLException
SQLException

rowInserted

public final boolean rowInserted()
                          throws SQLException
SQLException

rowUpdated

public final boolean rowUpdated()
                         throws SQLException
SQLException

updateArray

public void updateArray(int columnIndex,
                        Array val)
                 throws SQLException
SQLException

updateArray

public void updateArray(String columnName,
                        Array val)
                 throws SQLException
SQLException

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              InputStream val,
                              int length)
                       throws SQLException
SQLException

updateAsciiStream

public void updateAsciiStream(String columnName,
                              InputStream val,
                              int length)
                       throws SQLException
SQLException

updateBigDecimal

public void updateBigDecimal(int columnIndex,
                             BigDecimal val)
                      throws SQLException
SQLException

updateBigDecimal

public void updateBigDecimal(String columnName,
                             BigDecimal val)
                      throws SQLException
SQLException

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               InputStream val,
                               int length)
                        throws SQLException
SQLException

updateBinaryStream

public void updateBinaryStream(String columnName,
                               InputStream val,
                               int length)
                        throws SQLException
SQLException

updateBlob

public void updateBlob(int columnIndex,
                       Blob val)
                throws SQLException
SQLException

updateBlob

public void updateBlob(String columnName,
                       Blob val)
                throws SQLException
SQLException

updateBoolean

public void updateBoolean(int columnIndex,
                          boolean val)
                   throws SQLException
SQLException

updateBoolean

public void updateBoolean(String columnName,
                          boolean val)
                   throws SQLException
SQLException

updateByte

public void updateByte(int columnIndex,
                       byte val)
                throws SQLException
SQLException

updateByte

public void updateByte(String columnName,
                       byte val)
                throws SQLException
SQLException

updateBytes

public void updateBytes(int columnIndex,
                        byte[] val)
                 throws SQLException
SQLException

updateBytes

public void updateBytes(String columnName,
                        byte[] val)
                 throws SQLException
SQLException

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  Reader val,
                                  int length)
                           throws SQLException
SQLException

updateCharacterStream

public void updateCharacterStream(String columnName,
                                  Reader reader,
                                  int length)
                           throws SQLException
SQLException

updateClob

public void updateClob(int columnIndex,
                       Clob val)
                throws SQLException
SQLException

updateClob

public void updateClob(String columnName,
                       Clob val)
                throws SQLException
SQLException

updateDate

public void updateDate(int columnIndex,
                       Date val)
                throws SQLException
SQLException

updateDate

public void updateDate(String columnName,
                       Date val)
                throws SQLException
SQLException

updateDouble

public void updateDouble(int columnIndex,
                         double val)
                  throws SQLException
SQLException

updateDouble

public void updateDouble(String columnName,
                         double val)
                  throws SQLException
SQLException

updateFloat

public void updateFloat(int columnIndex,
                        float val)
                 throws SQLException
SQLException

updateFloat

public void updateFloat(String columnName,
                        float val)
                 throws SQLException
SQLException

updateInt

public void updateInt(int columnIndex,
                      int val)
               throws SQLException
SQLException

updateInt

public void updateInt(String columnName,
                      int val)
               throws SQLException
SQLException

updateLong

public void updateLong(int columnIndex,
                       long val)
                throws SQLException
SQLException

updateLong

public void updateLong(String columnName,
                       long val)
                throws SQLException
SQLException

updateNull

public void updateNull(int columnIndex)
                throws SQLException
SQLException

updateNull

public void updateNull(String columnName)
                throws SQLException
SQLException

updateObject

public void updateObject(int columnIndex,
                         Object val)
                  throws SQLException
SQLException

updateObject

public void updateObject(int columnIndex,
                         Object val,
                         int scale)
                  throws SQLException
SQLException

updateObject

public void updateObject(String columnName,
                         Object val)
                  throws SQLException
SQLException

updateObject

public void updateObject(String columnName,
                         Object val,
                         int scale)
                  throws SQLException
SQLException

updateRef

public void updateRef(int columnIndex,
                      Ref val)
               throws SQLException
SQLException

updateRef

public void updateRef(String columnName,
                      Ref val)
               throws SQLException
SQLException

updateRow

public final void updateRow()
                     throws SQLException
SQLException

updateShort

public void updateShort(int columnIndex,
                        short val)
                 throws SQLException
SQLException

updateShort

public void updateShort(String columnName,
                        short val)
                 throws SQLException
SQLException

updateString

public void updateString(int columnIndex,
                         String val)
                  throws SQLException
SQLException

updateString

public void updateString(String columnName,
                         String val)
                  throws SQLException
SQLException

updateTime

public void updateTime(int columnIndex,
                       Time val)
                throws SQLException
SQLException

updateTime

public void updateTime(String columnName,
                       Time val)
                throws SQLException
SQLException

updateTimestamp

public void updateTimestamp(int columnIndex,
                            Timestamp val)
                     throws SQLException
SQLException

updateTimestamp

public void updateTimestamp(String columnName,
                            Timestamp val)
                     throws SQLException
SQLException

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.