org.axiondb.jdbc
Class ForwardOnlyResultSet

java.lang.Object
  extended by org.axiondb.jdbc.BaseAxionResultSetDecorator
      extended by org.axiondb.jdbc.ForwardOnlyResultSet
All Implemented Interfaces:
ResultSet, Wrapper

public final class ForwardOnlyResultSet
extends BaseAxionResultSetDecorator

Version:
$Revision: 1.3 $

Field Summary
 
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
ForwardOnlyResultSet(ResultSet rs)
           
 
Method Summary
 boolean absolute(int row)
           
 void afterLast()
           
 void beforeFirst()
           
 boolean first()
           
 int getHoldability()
           
 Reader getNCharacterStream(int arg0)
           
 Reader getNCharacterStream(String arg0)
           
 NClob getNClob(int arg0)
           
 NClob getNClob(String arg0)
           
 String getNString(int arg0)
           
 String getNString(String arg0)
           
 RowId getRowId(int arg0)
           
 RowId getRowId(String arg0)
           
 SQLXML getSQLXML(int arg0)
           
 SQLXML getSQLXML(String arg0)
           
 boolean isClosed()
           
 boolean isWrapperFor(Class<?> arg0)
           
 boolean last()
           
 boolean previous()
           
 boolean relative(int rows)
           
 void setFetchDirection(int direction)
           
<T> T
unwrap(Class<T> arg0)
           
 void updateAsciiStream(int arg0, InputStream arg1)
           
 void updateAsciiStream(int arg0, InputStream arg1, long arg2)
           
 void updateAsciiStream(String arg0, InputStream arg1)
           
 void updateAsciiStream(String arg0, InputStream arg1, long arg2)
           
 void updateBinaryStream(int arg0, InputStream arg1)
           
 void updateBinaryStream(int arg0, InputStream arg1, long arg2)
           
 void updateBinaryStream(String arg0, InputStream arg1)
           
 void updateBinaryStream(String arg0, InputStream arg1, long arg2)
           
 void updateBlob(int arg0, InputStream arg1)
           
 void updateBlob(int arg0, InputStream arg1, long arg2)
           
 void updateBlob(String arg0, InputStream arg1)
           
 void updateBlob(String arg0, InputStream arg1, long arg2)
           
 void updateCharacterStream(int arg0, Reader arg1)
           
 void updateCharacterStream(int arg0, Reader arg1, long arg2)
           
 void updateCharacterStream(String arg0, Reader arg1)
           
 void updateCharacterStream(String arg0, Reader arg1, long arg2)
           
 void updateClob(int arg0, Reader arg1)
           
 void updateClob(int arg0, Reader arg1, long arg2)
           
 void updateClob(String arg0, Reader arg1)
           
 void updateClob(String arg0, Reader arg1, long arg2)
           
 void updateNCharacterStream(int arg0, Reader arg1)
           
 void updateNCharacterStream(int arg0, Reader arg1, long arg2)
           
 void updateNCharacterStream(String arg0, Reader arg1)
           
 void updateNCharacterStream(String arg0, Reader arg1, long arg2)
           
 void updateNClob(int arg0, NClob arg1)
           
 void updateNClob(int arg0, Reader arg1)
           
 void updateNClob(int arg0, Reader arg1, long arg2)
           
 void updateNClob(String arg0, NClob arg1)
           
 void updateNClob(String arg0, Reader arg1)
           
 void updateNClob(String arg0, Reader arg1, long arg2)
           
 void updateNString(int arg0, String arg1)
           
 void updateNString(String arg0, String arg1)
           
 void updateRowId(int arg0, RowId arg1)
           
 void updateRowId(String arg0, RowId arg1)
           
 void updateSQLXML(int arg0, SQLXML arg1)
           
 void updateSQLXML(String arg0, SQLXML arg1)
           
 
Methods inherited from class org.axiondb.jdbc.BaseAxionResultSetDecorator
cancelRowUpdates, clearWarnings, close, deleteRow, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getMetaData, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getShort, getShort, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, moveToCurrentRow, moveToInsertRow, next, refreshRow, rowDeleted, rowInserted, rowUpdated, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardOnlyResultSet

public ForwardOnlyResultSet(ResultSet rs)
Parameters:
rs - ResultSet that needs to be decorated
Method Detail

absolute

public boolean absolute(int row)
                 throws SQLException
Specified by:
absolute in interface ResultSet
Overrides:
absolute in class BaseAxionResultSetDecorator
Throws:
SQLException

afterLast

public void afterLast()
               throws SQLException
Specified by:
afterLast in interface ResultSet
Overrides:
afterLast in class BaseAxionResultSetDecorator
Throws:
SQLException

beforeFirst

public void beforeFirst()
                 throws SQLException
Specified by:
beforeFirst in interface ResultSet
Overrides:
beforeFirst in class BaseAxionResultSetDecorator
Throws:
SQLException

first

public boolean first()
              throws SQLException
Specified by:
first in interface ResultSet
Overrides:
first in class BaseAxionResultSetDecorator
Throws:
SQLException

last

public boolean last()
             throws SQLException
Specified by:
last in interface ResultSet
Overrides:
last in class BaseAxionResultSetDecorator
Throws:
SQLException

previous

public boolean previous()
                 throws SQLException
Specified by:
previous in interface ResultSet
Overrides:
previous in class BaseAxionResultSetDecorator
Throws:
SQLException

relative

public boolean relative(int rows)
                 throws SQLException
Specified by:
relative in interface ResultSet
Overrides:
relative in class BaseAxionResultSetDecorator
Throws:
SQLException

setFetchDirection

public void setFetchDirection(int direction)
                       throws SQLException
Specified by:
setFetchDirection in interface ResultSet
Overrides:
setFetchDirection in class BaseAxionResultSetDecorator
Throws:
SQLException

getHoldability

public int getHoldability()
                   throws SQLException
Throws:
SQLException

getNCharacterStream

public Reader getNCharacterStream(int arg0)
                           throws SQLException
Throws:
SQLException

getNCharacterStream

public Reader getNCharacterStream(String arg0)
                           throws SQLException
Throws:
SQLException

getNClob

public NClob getNClob(int arg0)
               throws SQLException
Throws:
SQLException

getNClob

public NClob getNClob(String arg0)
               throws SQLException
Throws:
SQLException

getNString

public String getNString(int arg0)
                  throws SQLException
Throws:
SQLException

getNString

public String getNString(String arg0)
                  throws SQLException
Throws:
SQLException

getRowId

public RowId getRowId(int arg0)
               throws SQLException
Throws:
SQLException

getRowId

public RowId getRowId(String arg0)
               throws SQLException
Throws:
SQLException

getSQLXML

public SQLXML getSQLXML(int arg0)
                 throws SQLException
Throws:
SQLException

getSQLXML

public SQLXML getSQLXML(String arg0)
                 throws SQLException
Throws:
SQLException

isClosed

public boolean isClosed()
                 throws SQLException
Throws:
SQLException

updateAsciiStream

public void updateAsciiStream(int arg0,
                              InputStream arg1)
                       throws SQLException
Throws:
SQLException

updateAsciiStream

public void updateAsciiStream(String arg0,
                              InputStream arg1)
                       throws SQLException
Throws:
SQLException

updateAsciiStream

public void updateAsciiStream(int arg0,
                              InputStream arg1,
                              long arg2)
                       throws SQLException
Throws:
SQLException

updateAsciiStream

public void updateAsciiStream(String arg0,
                              InputStream arg1,
                              long arg2)
                       throws SQLException
Throws:
SQLException

updateBinaryStream

public void updateBinaryStream(int arg0,
                               InputStream arg1)
                        throws SQLException
Throws:
SQLException

updateBinaryStream

public void updateBinaryStream(String arg0,
                               InputStream arg1)
                        throws SQLException
Throws:
SQLException

updateBinaryStream

public void updateBinaryStream(int arg0,
                               InputStream arg1,
                               long arg2)
                        throws SQLException
Throws:
SQLException

updateBinaryStream

public void updateBinaryStream(String arg0,
                               InputStream arg1,
                               long arg2)
                        throws SQLException
Throws:
SQLException

updateBlob

public void updateBlob(int arg0,
                       InputStream arg1)
                throws SQLException
Throws:
SQLException

updateBlob

public void updateBlob(String arg0,
                       InputStream arg1)
                throws SQLException
Throws:
SQLException

updateBlob

public void updateBlob(int arg0,
                       InputStream arg1,
                       long arg2)
                throws SQLException
Throws:
SQLException

updateBlob

public void updateBlob(String arg0,
                       InputStream arg1,
                       long arg2)
                throws SQLException
Throws:
SQLException

updateCharacterStream

public void updateCharacterStream(int arg0,
                                  Reader arg1)
                           throws SQLException
Throws:
SQLException

updateCharacterStream

public void updateCharacterStream(String arg0,
                                  Reader arg1)
                           throws SQLException
Throws:
SQLException

updateCharacterStream

public void updateCharacterStream(int arg0,
                                  Reader arg1,
                                  long arg2)
                           throws SQLException
Throws:
SQLException

updateCharacterStream

public void updateCharacterStream(String arg0,
                                  Reader arg1,
                                  long arg2)
                           throws SQLException
Throws:
SQLException

updateClob

public void updateClob(int arg0,
                       Reader arg1)
                throws SQLException
Throws:
SQLException

updateClob

public void updateClob(String arg0,
                       Reader arg1)
                throws SQLException
Throws:
SQLException

updateClob

public void updateClob(int arg0,
                       Reader arg1,
                       long arg2)
                throws SQLException
Throws:
SQLException

updateClob

public void updateClob(String arg0,
                       Reader arg1,
                       long arg2)
                throws SQLException
Throws:
SQLException

updateNCharacterStream

public void updateNCharacterStream(int arg0,
                                   Reader arg1)
                            throws SQLException
Throws:
SQLException

updateNCharacterStream

public void updateNCharacterStream(String arg0,
                                   Reader arg1)
                            throws SQLException
Throws:
SQLException

updateNCharacterStream

public void updateNCharacterStream(int arg0,
                                   Reader arg1,
                                   long arg2)
                            throws SQLException
Throws:
SQLException

updateNCharacterStream

public void updateNCharacterStream(String arg0,
                                   Reader arg1,
                                   long arg2)
                            throws SQLException
Throws:
SQLException

updateNClob

public void updateNClob(int arg0,
                        NClob arg1)
                 throws SQLException
Throws:
SQLException

updateNClob

public void updateNClob(String arg0,
                        NClob arg1)
                 throws SQLException
Throws:
SQLException

updateNClob

public void updateNClob(int arg0,
                        Reader arg1)
                 throws SQLException
Throws:
SQLException

updateNClob

public void updateNClob(String arg0,
                        Reader arg1)
                 throws SQLException
Throws:
SQLException

updateNClob

public void updateNClob(int arg0,
                        Reader arg1,
                        long arg2)
                 throws SQLException
Throws:
SQLException

updateNClob

public void updateNClob(String arg0,
                        Reader arg1,
                        long arg2)
                 throws SQLException
Throws:
SQLException

updateNString

public void updateNString(int arg0,
                          String arg1)
                   throws SQLException
Throws:
SQLException

updateNString

public void updateNString(String arg0,
                          String arg1)
                   throws SQLException
Throws:
SQLException

updateRowId

public void updateRowId(int arg0,
                        RowId arg1)
                 throws SQLException
Throws:
SQLException

updateRowId

public void updateRowId(String arg0,
                        RowId arg1)
                 throws SQLException
Throws:
SQLException

updateSQLXML

public void updateSQLXML(int arg0,
                         SQLXML arg1)
                  throws SQLException
Throws:
SQLException

updateSQLXML

public void updateSQLXML(String arg0,
                         SQLXML arg1)
                  throws SQLException
Throws:
SQLException

isWrapperFor

public boolean isWrapperFor(Class<?> arg0)
                     throws SQLException
Throws:
SQLException

unwrap

public <T> T unwrap(Class<T> arg0)
         throws SQLException
Throws:
SQLException