DBAbstract API Documentation

ro.raducora.utils.protocol
Class SerializedResultSet

java.lang.Object
  |
  +--ro.raducora.utils.protocol.SerializedResultSet
All Implemented Interfaces:
java.sql.ResultSet, java.io.Serializable

public class SerializedResultSet
extends java.lang.Object
implements java.io.Serializable, java.sql.ResultSet

A duplicate of java.sql.ResultSet which is serializable

See Also:
Serialized Form

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
SerializedResultSet(java.sql.ResultSet rs)
          Takes as a parameter the ResultSet to wrap
 
Method Summary
 boolean absolute(int row)
          method not supported
 void afterLast()
           
 void beforeFirst()
           
 void cancelRowUpdates()
          method not supported
 void clearWarnings()
          method not supported
 void close()
           
 void deleteRow()
          method not supported
 int findColumn(java.lang.String columnName)
           
 boolean first()
          Positions the cursor at the first value of the result set.
 java.sql.Array getArray(int i)
          method not supported
 java.sql.Array getArray(java.lang.String colName)
          method not supported
 java.io.InputStream getAsciiStream(int columnIndex)
          method not supported
 java.io.InputStream getAsciiStream(java.lang.String columnName)
          method not supported
 java.math.BigDecimal getBigDecimal(int columnIndex)
          method not supported
 java.math.BigDecimal getBigDecimal(int columnIndex, int scale)
          method not supported
 java.math.BigDecimal getBigDecimal(java.lang.String columnName)
          method not supported
 java.math.BigDecimal getBigDecimal(java.lang.String columnName, int scale)
          method not supported
 java.io.InputStream getBinaryStream(int columnIndex)
          method not supported
 java.io.InputStream getBinaryStream(java.lang.String columnName)
          method not supported
 java.sql.Blob getBlob(int i)
          method not supported
 java.sql.Blob getBlob(java.lang.String colName)
          method not supported
 boolean getBoolean(int columnIndex)
          method not supported
 boolean getBoolean(java.lang.String columnName)
          method not supported
 byte getByte(int columnIndex)
          method not supported
 byte getByte(java.lang.String columnName)
          method not supported
 byte[] getBytes(int columnIndex)
          method not supported
 byte[] getBytes(java.lang.String columnName)
          method not supported
 java.io.Reader getCharacterStream(int columnIndex)
          method not supported
 java.io.Reader getCharacterStream(java.lang.String columnName)
          method not supported
 java.sql.Clob getClob(int i)
          method not supported
 java.sql.Clob getClob(java.lang.String colName)
          method not supported
 int getConcurrency()
           
 java.lang.String getCursorName()
          method not supported
 java.sql.Date getDate(int columnIndex)
          Get Date specified by the column name.
 java.sql.Date getDate(int columnIndex, java.util.Calendar cal)
          method not supported
 java.sql.Date getDate(java.lang.String columnName)
          Get Date specified by the column name.
 java.sql.Date getDate(java.lang.String columnName, java.util.Calendar cal)
          method not supported
 double getDouble(int columnIndex)
          Get a double value specified by the column name.
 double getDouble(java.lang.String columnName)
          Get a double value specified by the column name.
 int getFetchDirection()
          method not supported
 int getFetchSize()
          method not supported
 float getFloat(int columnIndex)
          method not supported
 float getFloat(java.lang.String columnName)
          method not supported
 int getInt(int columnIndex)
          Get an integer value specified by the column name.
 int getInt(java.lang.String columnName)
          Get a integer value specified by the column name.
 long getLong(int columnIndex)
          Get a long value specified by the column name.
 long getLong(java.lang.String columnName)
          Get a long value specified by the column name.
 java.sql.ResultSetMetaData getMetaData()
           
 java.lang.Object getObject(int columnIndex)
          Get an Object specified by the column name.
 java.lang.Object getObject(int i, java.util.Map map)
          method not supported
 java.lang.Object getObject(java.lang.String columnName)
          Get an Object specified by the column name.
 java.lang.Object getObject(java.lang.String colName, java.util.Map map)
          method not supported
 java.sql.Ref getRef(int i)
          method not supported
 java.sql.Ref getRef(java.lang.String colName)
          method not supported
 int getRow()
           
 short getShort(int columnIndex)
          method not supported
 short getShort(java.lang.String columnName)
          method not supported
 java.sql.Statement getStatement()
          method not supported
 java.lang.String getString(int columnIndex)
           
 java.lang.String getString(java.lang.String columnName)
          Get a String value specified by the column name.
 java.sql.Time getTime(int columnIndex)
          Get Time specified by the column name.
 java.sql.Time getTime(int columnIndex, java.util.Calendar cal)
          method not supported
 java.sql.Time getTime(java.lang.String columnName)
          Get Time specified by the column name.
 java.sql.Time getTime(java.lang.String columnName, java.util.Calendar cal)
          method not supported
 java.sql.Timestamp getTimestamp(int columnIndex)
          Get a java.sql.Timestamp Object specified by the column name.
 java.sql.Timestamp getTimestamp(int columnIndex, java.util.Calendar cal)
          method not supported
 java.sql.Timestamp getTimestamp(java.lang.String columnName)
          Get a java.sql.Timestamp Object specified by the column name.
 java.sql.Timestamp getTimestamp(java.lang.String columnName, java.util.Calendar cal)
          method not supported
 int getType()
           
 java.io.InputStream getUnicodeStream(int columnIndex)
          method not supported
 java.io.InputStream getUnicodeStream(java.lang.String columnName)
          method not supported
 java.net.URL getURL(int columnIndex)
          method not supported
 java.net.URL getURL(java.lang.String columnName)
          method not supported
 java.sql.SQLWarning getWarnings()
          method not supported
 void insertRow()
          method not supported
 boolean isAfterLast()
           
 boolean isBeforeFirst()
           
 boolean isFirst()
           
 boolean isLast()
           
 boolean last()
          Positions the cursor at the last value of the table result set.
 void moveToCurrentRow()
          method not supported
 void moveToInsertRow()
          method not supported
 boolean next()
          Moves the cursor down one row from its current position in the result set.
 boolean previous()
           
 int recordCount()
          Returns the total number of records in the resultset.
 void refreshRow()
          method not supported
 boolean relative(int rows)
          method not supported
 boolean rowDeleted()
          method not supported
 boolean rowInserted()
          method not supported
 boolean rowUpdated()
          method not supported
 void setFetchDirection(int direction)
          method not supported
 void setFetchSize(int rows)
          method not supported
 java.lang.String toString()
          writes the resultset in a consistent manner
 void updateArray(int columnIndex, java.sql.Array x)
          method not supported
 void updateArray(java.lang.String columnName, java.sql.Array x)
          method not supported
 void updateAsciiStream(int columnIndex, java.io.InputStream x, int length)
          method not supported
 void updateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length)
          method not supported
 void updateBigDecimal(int columnIndex, java.math.BigDecimal x)
          method not supported
 void updateBigDecimal(java.lang.String columnName, java.math.BigDecimal x)
          method not supported
 void updateBinaryStream(int columnIndex, java.io.InputStream x, int length)
          method not supported
 void updateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length)
          method not supported
 void updateBlob(int columnIndex, java.sql.Blob x)
          method not supported
 void updateBlob(java.lang.String columnName, java.sql.Blob x)
          method not supported
 void updateBoolean(int columnIndex, boolean x)
          method not supported
 void updateBoolean(java.lang.String columnName, boolean x)
          method not supported
 void updateByte(int columnIndex, byte x)
          method not supported
 void updateByte(java.lang.String columnName, byte x)
          method not supported
 void updateBytes(int columnIndex, byte[] x)
          method not supported
 void updateBytes(java.lang.String columnName, byte[] x)
          method not supported
 void updateCharacterStream(int columnIndex, java.io.Reader x, int length)
          method not supported
 void updateCharacterStream(java.lang.String columnName, java.io.Reader reader, int length)
          method not supported
 void updateClob(int columnIndex, java.sql.Clob x)
          method not supported
 void updateClob(java.lang.String columnName, java.sql.Clob x)
          method not supported
 void updateDate(int columnIndex, java.sql.Date x)
          method not supported
 void updateDate(java.lang.String columnName, java.sql.Date x)
          method not supported
 void updateDouble(int columnIndex, double x)
          method not supported
 void updateDouble(java.lang.String columnName, double x)
          method not supported
 void updateFloat(int columnIndex, float x)
          method not supported
 void updateFloat(java.lang.String columnName, float x)
          method not supported
 void updateInt(int columnIndex, int x)
          method not supported
 void updateInt(java.lang.String columnName, int x)
          method not supported
 void updateLong(int columnIndex, long x)
          method not supported
 void updateLong(java.lang.String columnName, long x)
          method not supported
 void updateNull(int columnIndex)
          method not supported
 void updateNull(java.lang.String columnName)
          method not supported
 void updateObject(int columnIndex, java.lang.Object x)
          method not supported
 void updateObject(int columnIndex, java.lang.Object x, int scale)
          method not supported
 void updateObject(java.lang.String columnName, java.lang.Object x)
          method not supported
 void updateObject(java.lang.String columnName, java.lang.Object x, int scale)
          method not supported
 void updateRef(int columnIndex, java.sql.Ref x)
          method not supported
 void updateRef(java.lang.String columnName, java.sql.Ref x)
          method not supported
 void updateRow()
          method not supported
 void updateShort(int columnIndex, short x)
          method not supported
 void updateShort(java.lang.String columnName, short x)
          method not supported
 void updateString(int columnIndex, java.lang.String x)
          method not supported
 void updateString(java.lang.String columnName, java.lang.String x)
          method not supported
 void updateTime(int columnIndex, java.sql.Time x)
          method not supported
 void updateTime(java.lang.String columnName, java.sql.Time x)
          method not supported
 void updateTimestamp(int columnIndex, java.sql.Timestamp x)
          method not supported
 void updateTimestamp(java.lang.String columnName, java.sql.Timestamp x)
          method not supported
 boolean wasNull()
          method not supported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerializedResultSet

public SerializedResultSet(java.sql.ResultSet rs)
                    throws java.sql.SQLException
Takes as a parameter the ResultSet to wrap

Parameters:
rs - the ResultSet to read into it's serializable list
Throws:
java.sql.SQLException
Method Detail

next

public boolean next()
             throws java.sql.SQLException
Moves the cursor down one row from its current position in the result set. Initially the cursor is at the top of the first row.

Specified by:
next in interface java.sql.ResultSet
Returns:
true if the new current row is valid; false otherwise.
java.sql.SQLException

recordCount

public int recordCount()
Returns the total number of records in the resultset.

Returns:
integer the total number of records in the result set.

first

public boolean first()
Positions the cursor at the first value of the result set.

Specified by:
first in interface java.sql.ResultSet
Returns:
true if the first row is valid; false otherwise.

last

public boolean last()
Positions the cursor at the last value of the table result set.

Specified by:
last in interface java.sql.ResultSet
Returns:
true if the first row is valid; false otherwise.

getString

public java.lang.String getString(java.lang.String columnName)
                           throws java.sql.SQLException
Get a String value specified by the column name.

Specified by:
getString in interface java.sql.ResultSet
Parameters:
columnName - The name of the table column.
Returns:
A String containing the data.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getDate

public java.sql.Date getDate(java.lang.String columnName)
                      throws java.sql.SQLException
Get Date specified by the column name.

Specified by:
getDate in interface java.sql.ResultSet
Parameters:
columnName - The name of the table column.
Returns:
A String containing the date.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getTime

public java.sql.Time getTime(java.lang.String columnName)
                      throws java.sql.SQLException
Get Time specified by the column name.

Specified by:
getTime in interface java.sql.ResultSet
Parameters:
columnName - The name of the table column.
Returns:
A String containing the time.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getObject

public java.lang.Object getObject(java.lang.String columnName)
                           throws java.sql.SQLException
Get an Object specified by the column name.

Specified by:
getObject in interface java.sql.ResultSet
Parameters:
columnName - The name of the table column.
Returns:
An Object containing the data.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getLong

public long getLong(java.lang.String columnName)
             throws java.sql.SQLException
Get a long value specified by the column name.

Specified by:
getLong in interface java.sql.ResultSet
Parameters:
columnName - The name of the table column.
Returns:
A long containing the data.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getDouble

public double getDouble(java.lang.String columnName)
                 throws java.sql.SQLException
Get a double value specified by the column name.

Specified by:
getDouble in interface java.sql.ResultSet
Parameters:
columnName - The name of the table column.
Returns:
A double containing the data.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String columnName)
                                throws java.sql.SQLException
Get a java.sql.Timestamp Object specified by the column name.

Specified by:
getTimestamp in interface java.sql.ResultSet
Parameters:
columnName - The name of the table column.
Returns:
An java.sql.Timestamp Object containing the data.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getInt

public int getInt(java.lang.String columnName)
           throws java.sql.SQLException
Get a integer value specified by the column name.

Specified by:
getInt in interface java.sql.ResultSet
Parameters:
columnName - The name of the table column.
Returns:
An integer containing the data.
Throws:
java.sql.SQLException - if an invalid column Name is given.

close

public void close()
           throws java.sql.SQLException
Specified by:
close in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.close()

wasNull

public boolean wasNull()
                throws java.sql.SQLException
method not supported

Specified by:
wasNull in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.wasNull()

getString

public java.lang.String getString(int columnIndex)
                           throws java.sql.SQLException
Specified by:
getString in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getString(int)

getBoolean

public boolean getBoolean(int columnIndex)
                   throws java.sql.SQLException
method not supported

Specified by:
getBoolean in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBoolean(int)

getByte

public byte getByte(int columnIndex)
             throws java.sql.SQLException
method not supported

Specified by:
getByte in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getByte(int)

getShort

public short getShort(int columnIndex)
               throws java.sql.SQLException
method not supported

Specified by:
getShort in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getShort(int)

getInt

public int getInt(int columnIndex)
           throws java.sql.SQLException
Get an integer value specified by the column name.

Specified by:
getInt in interface java.sql.ResultSet
Parameters:
columnIndex - The name of the table column.
Returns:
An integer containing the data.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getLong

public long getLong(int columnIndex)
             throws java.sql.SQLException
Get a long value specified by the column name.

Specified by:
getLong in interface java.sql.ResultSet
Parameters:
columnIndex - The name of the table column.
Returns:
A long containing the data.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getFloat

public float getFloat(int columnIndex)
               throws java.sql.SQLException
method not supported

Specified by:
getFloat in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getFloat(int)

getDouble

public double getDouble(int columnIndex)
                 throws java.sql.SQLException
Get a double value specified by the column name.

Specified by:
getDouble in interface java.sql.ResultSet
Parameters:
columnIndex - The name of the table column.
Returns:
A double containing the data.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getBigDecimal

public java.math.BigDecimal getBigDecimal(int columnIndex,
                                          int scale)
                                   throws java.sql.SQLException
method not supported

Specified by:
getBigDecimal in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBigDecimal(int, int)

getBytes

public byte[] getBytes(int columnIndex)
                throws java.sql.SQLException
method not supported

Specified by:
getBytes in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBytes(int)

getDate

public java.sql.Date getDate(int columnIndex)
                      throws java.sql.SQLException
Get Date specified by the column name.

Specified by:
getDate in interface java.sql.ResultSet
Parameters:
columnIndex - The name of the table column.
Returns:
A String containing the date.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getTime

public java.sql.Time getTime(int columnIndex)
                      throws java.sql.SQLException
Get Time specified by the column name.

Specified by:
getTime in interface java.sql.ResultSet
Parameters:
columnIndex - The name of the table column.
Returns:
A String containing the time.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getTimestamp

public java.sql.Timestamp getTimestamp(int columnIndex)
                                throws java.sql.SQLException
Get a java.sql.Timestamp Object specified by the column name.

Specified by:
getTimestamp in interface java.sql.ResultSet
Parameters:
columnIndex - The name of the table column.
Returns:
An java.sql.Timestamp Object containing the data.
Throws:
java.sql.SQLException - if an invalid column Name is given.

getAsciiStream

public java.io.InputStream getAsciiStream(int columnIndex)
                                   throws java.sql.SQLException
method not supported

Specified by:
getAsciiStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getAsciiStream(int)

getUnicodeStream

public java.io.InputStream getUnicodeStream(int columnIndex)
                                     throws java.sql.SQLException
method not supported

Specified by:
getUnicodeStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getUnicodeStream(int)

getBinaryStream

public java.io.InputStream getBinaryStream(int columnIndex)
                                    throws java.sql.SQLException
method not supported

Specified by:
getBinaryStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBinaryStream(int)

getBoolean

public boolean getBoolean(java.lang.String columnName)
                   throws java.sql.SQLException
method not supported

Specified by:
getBoolean in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBoolean(java.lang.String)

getByte

public byte getByte(java.lang.String columnName)
             throws java.sql.SQLException
method not supported

Specified by:
getByte in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getByte(java.lang.String)

getShort

public short getShort(java.lang.String columnName)
               throws java.sql.SQLException
method not supported

Specified by:
getShort in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getShort(java.lang.String)

getFloat

public float getFloat(java.lang.String columnName)
               throws java.sql.SQLException
method not supported

Specified by:
getFloat in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getFloat(java.lang.String)

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String columnName,
                                          int scale)
                                   throws java.sql.SQLException
method not supported

Specified by:
getBigDecimal in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBigDecimal(java.lang.String, int)

getBytes

public byte[] getBytes(java.lang.String columnName)
                throws java.sql.SQLException
method not supported

Specified by:
getBytes in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBytes(java.lang.String)

getAsciiStream

public java.io.InputStream getAsciiStream(java.lang.String columnName)
                                   throws java.sql.SQLException
method not supported

Specified by:
getAsciiStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getAsciiStream(java.lang.String)

getUnicodeStream

public java.io.InputStream getUnicodeStream(java.lang.String columnName)
                                     throws java.sql.SQLException
method not supported

Specified by:
getUnicodeStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getUnicodeStream(java.lang.String)

getBinaryStream

public java.io.InputStream getBinaryStream(java.lang.String columnName)
                                    throws java.sql.SQLException
method not supported

Specified by:
getBinaryStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBinaryStream(java.lang.String)

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
method not supported

Specified by:
getWarnings in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getWarnings()

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
method not supported

Specified by:
clearWarnings in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.clearWarnings()

getCursorName

public java.lang.String getCursorName()
                               throws java.sql.SQLException
method not supported

Specified by:
getCursorName in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getCursorName()

getMetaData

public java.sql.ResultSetMetaData getMetaData()
                                       throws java.sql.SQLException
Specified by:
getMetaData in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getMetaData()

getObject

public java.lang.Object getObject(int columnIndex)
                           throws java.sql.SQLException
Get an Object specified by the column name.

Specified by:
getObject in interface java.sql.ResultSet
Parameters:
columnIndex - The name of the table column.
Returns:
An Object containing the data.
Throws:
java.sql.SQLException - if an invalid column Name is given.

findColumn

public int findColumn(java.lang.String columnName)
               throws java.sql.SQLException
Specified by:
findColumn in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.findColumn(java.lang.String)

getCharacterStream

public java.io.Reader getCharacterStream(int columnIndex)
                                  throws java.sql.SQLException
method not supported

Specified by:
getCharacterStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getCharacterStream(int)

getCharacterStream

public java.io.Reader getCharacterStream(java.lang.String columnName)
                                  throws java.sql.SQLException
method not supported

Specified by:
getCharacterStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getCharacterStream(java.lang.String)

getBigDecimal

public java.math.BigDecimal getBigDecimal(int columnIndex)
                                   throws java.sql.SQLException
method not supported

Specified by:
getBigDecimal in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBigDecimal(int)

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
                                   throws java.sql.SQLException
method not supported

Specified by:
getBigDecimal in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBigDecimal(java.lang.String)

isBeforeFirst

public boolean isBeforeFirst()
                      throws java.sql.SQLException
Specified by:
isBeforeFirst in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.isBeforeFirst()

isAfterLast

public boolean isAfterLast()
                    throws java.sql.SQLException
Specified by:
isAfterLast in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.isAfterLast()

isFirst

public boolean isFirst()
                throws java.sql.SQLException
Specified by:
isFirst in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.isFirst()

isLast

public boolean isLast()
               throws java.sql.SQLException
Specified by:
isLast in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.isLast()

beforeFirst

public void beforeFirst()
                 throws java.sql.SQLException
Specified by:
beforeFirst in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.beforeFirst()

afterLast

public void afterLast()
               throws java.sql.SQLException
Specified by:
afterLast in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.afterLast()

getRow

public int getRow()
           throws java.sql.SQLException
Specified by:
getRow in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getRow()

absolute

public boolean absolute(int row)
                 throws java.sql.SQLException
method not supported

Specified by:
absolute in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.absolute(int)

relative

public boolean relative(int rows)
                 throws java.sql.SQLException
method not supported

Specified by:
relative in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.relative(int)

previous

public boolean previous()
                 throws java.sql.SQLException
Specified by:
previous in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.previous()

setFetchDirection

public void setFetchDirection(int direction)
                       throws java.sql.SQLException
method not supported

Specified by:
setFetchDirection in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.setFetchDirection(int)

getFetchDirection

public int getFetchDirection()
                      throws java.sql.SQLException
method not supported

Specified by:
getFetchDirection in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getFetchDirection()

setFetchSize

public void setFetchSize(int rows)
                  throws java.sql.SQLException
method not supported

Specified by:
setFetchSize in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.setFetchSize(int)

getFetchSize

public int getFetchSize()
                 throws java.sql.SQLException
method not supported

Specified by:
getFetchSize in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getFetchSize()

getType

public int getType()
            throws java.sql.SQLException
Specified by:
getType in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getType()

getConcurrency

public int getConcurrency()
                   throws java.sql.SQLException
Specified by:
getConcurrency in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getConcurrency()

rowUpdated

public boolean rowUpdated()
                   throws java.sql.SQLException
method not supported

Specified by:
rowUpdated in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.rowUpdated()

rowInserted

public boolean rowInserted()
                    throws java.sql.SQLException
method not supported

Specified by:
rowInserted in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.rowInserted()

rowDeleted

public boolean rowDeleted()
                   throws java.sql.SQLException
method not supported

Specified by:
rowDeleted in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.rowDeleted()

updateNull

public void updateNull(int columnIndex)
                throws java.sql.SQLException
method not supported

Specified by:
updateNull in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateNull(int)

updateBoolean

public void updateBoolean(int columnIndex,
                          boolean x)
                   throws java.sql.SQLException
method not supported

Specified by:
updateBoolean in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateBoolean(int, boolean)

updateByte

public void updateByte(int columnIndex,
                       byte x)
                throws java.sql.SQLException
method not supported

Specified by:
updateByte in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateByte(int, byte)

updateShort

public void updateShort(int columnIndex,
                        short x)
                 throws java.sql.SQLException
method not supported

Specified by:
updateShort in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateShort(int, short)

updateInt

public void updateInt(int columnIndex,
                      int x)
               throws java.sql.SQLException
method not supported

Specified by:
updateInt in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateInt(int, int)

updateLong

public void updateLong(int columnIndex,
                       long x)
                throws java.sql.SQLException
method not supported

Specified by:
updateLong in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateLong(int, long)

updateFloat

public void updateFloat(int columnIndex,
                        float x)
                 throws java.sql.SQLException
method not supported

Specified by:
updateFloat in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateFloat(int, float)

updateDouble

public void updateDouble(int columnIndex,
                         double x)
                  throws java.sql.SQLException
method not supported

Specified by:
updateDouble in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateDouble(int, double)

updateBigDecimal

public void updateBigDecimal(int columnIndex,
                             java.math.BigDecimal x)
                      throws java.sql.SQLException
method not supported

Specified by:
updateBigDecimal in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateBigDecimal(int, java.math.BigDecimal)

updateString

public void updateString(int columnIndex,
                         java.lang.String x)
                  throws java.sql.SQLException
method not supported

Specified by:
updateString in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateString(int, java.lang.String)

updateBytes

public void updateBytes(int columnIndex,
                        byte[] x)
                 throws java.sql.SQLException
method not supported

Specified by:
updateBytes in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateBytes(int, byte[])

updateDate

public void updateDate(int columnIndex,
                       java.sql.Date x)
                throws java.sql.SQLException
method not supported

Specified by:
updateDate in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateDate(int, java.sql.Date)

updateTime

public void updateTime(int columnIndex,
                       java.sql.Time x)
                throws java.sql.SQLException
method not supported

Specified by:
updateTime in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateTime(int, java.sql.Time)

updateTimestamp

public void updateTimestamp(int columnIndex,
                            java.sql.Timestamp x)
                     throws java.sql.SQLException
method not supported

Specified by:
updateTimestamp in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateTimestamp(int, java.sql.Timestamp)

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              java.io.InputStream x,
                              int length)
                       throws java.sql.SQLException
method not supported

Specified by:
updateAsciiStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateAsciiStream(int, java.io.InputStream, int)

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               java.io.InputStream x,
                               int length)
                        throws java.sql.SQLException
method not supported

Specified by:
updateBinaryStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateBinaryStream(int, java.io.InputStream, int)

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  java.io.Reader x,
                                  int length)
                           throws java.sql.SQLException
method not supported

Specified by:
updateCharacterStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateCharacterStream(int, java.io.Reader, int)

updateObject

public void updateObject(int columnIndex,
                         java.lang.Object x,
                         int scale)
                  throws java.sql.SQLException
method not supported

Specified by:
updateObject in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateObject(int, java.lang.Object, int)

updateObject

public void updateObject(int columnIndex,
                         java.lang.Object x)
                  throws java.sql.SQLException
method not supported

Specified by:
updateObject in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateObject(int, java.lang.Object)

updateNull

public void updateNull(java.lang.String columnName)
                throws java.sql.SQLException
method not supported

Specified by:
updateNull in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateNull(java.lang.String)

updateBoolean

public void updateBoolean(java.lang.String columnName,
                          boolean x)
                   throws java.sql.SQLException
method not supported

Specified by:
updateBoolean in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateBoolean(java.lang.String, boolean)

updateByte

public void updateByte(java.lang.String columnName,
                       byte x)
                throws java.sql.SQLException
method not supported

Specified by:
updateByte in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateByte(java.lang.String, byte)

updateShort

public void updateShort(java.lang.String columnName,
                        short x)
                 throws java.sql.SQLException
method not supported

Specified by:
updateShort in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateShort(java.lang.String, short)

updateInt

public void updateInt(java.lang.String columnName,
                      int x)
               throws java.sql.SQLException
method not supported

Specified by:
updateInt in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateInt(java.lang.String, int)

updateLong

public void updateLong(java.lang.String columnName,
                       long x)
                throws java.sql.SQLException
method not supported

Specified by:
updateLong in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateLong(java.lang.String, long)

updateFloat

public void updateFloat(java.lang.String columnName,
                        float x)
                 throws java.sql.SQLException
method not supported

Specified by:
updateFloat in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateFloat(java.lang.String, float)

updateDouble

public void updateDouble(java.lang.String columnName,
                         double x)
                  throws java.sql.SQLException
method not supported

Specified by:
updateDouble in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateDouble(java.lang.String, double)

updateBigDecimal

public void updateBigDecimal(java.lang.String columnName,
                             java.math.BigDecimal x)
                      throws java.sql.SQLException
method not supported

Specified by:
updateBigDecimal in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateBigDecimal(java.lang.String, java.math.BigDecimal)

updateString

public void updateString(java.lang.String columnName,
                         java.lang.String x)
                  throws java.sql.SQLException
method not supported

Specified by:
updateString in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateString(java.lang.String, java.lang.String)

updateBytes

public void updateBytes(java.lang.String columnName,
                        byte[] x)
                 throws java.sql.SQLException
method not supported

Specified by:
updateBytes in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateBytes(java.lang.String, byte[])

updateDate

public void updateDate(java.lang.String columnName,
                       java.sql.Date x)
                throws java.sql.SQLException
method not supported

Specified by:
updateDate in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateDate(java.lang.String, java.sql.Date)

updateTime

public void updateTime(java.lang.String columnName,
                       java.sql.Time x)
                throws java.sql.SQLException
method not supported

Specified by:
updateTime in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateTime(java.lang.String, java.sql.Time)

updateTimestamp

public void updateTimestamp(java.lang.String columnName,
                            java.sql.Timestamp x)
                     throws java.sql.SQLException
method not supported

Specified by:
updateTimestamp in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateTimestamp(java.lang.String, java.sql.Timestamp)

updateAsciiStream

public void updateAsciiStream(java.lang.String columnName,
                              java.io.InputStream x,
                              int length)
                       throws java.sql.SQLException
method not supported

Specified by:
updateAsciiStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateAsciiStream(java.lang.String, java.io.InputStream, int)

updateBinaryStream

public void updateBinaryStream(java.lang.String columnName,
                               java.io.InputStream x,
                               int length)
                        throws java.sql.SQLException
method not supported

Specified by:
updateBinaryStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateBinaryStream(java.lang.String, java.io.InputStream, int)

updateCharacterStream

public void updateCharacterStream(java.lang.String columnName,
                                  java.io.Reader reader,
                                  int length)
                           throws java.sql.SQLException
method not supported

Specified by:
updateCharacterStream in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateCharacterStream(java.lang.String, java.io.Reader, int)

updateObject

public void updateObject(java.lang.String columnName,
                         java.lang.Object x,
                         int scale)
                  throws java.sql.SQLException
method not supported

Specified by:
updateObject in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateObject(java.lang.String, java.lang.Object, int)

updateObject

public void updateObject(java.lang.String columnName,
                         java.lang.Object x)
                  throws java.sql.SQLException
method not supported

Specified by:
updateObject in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateObject(java.lang.String, java.lang.Object)

insertRow

public void insertRow()
               throws java.sql.SQLException
method not supported

Specified by:
insertRow in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.insertRow()

updateRow

public void updateRow()
               throws java.sql.SQLException
method not supported

Specified by:
updateRow in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateRow()

deleteRow

public void deleteRow()
               throws java.sql.SQLException
method not supported

Specified by:
deleteRow in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.deleteRow()

refreshRow

public void refreshRow()
                throws java.sql.SQLException
method not supported

Specified by:
refreshRow in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.refreshRow()

cancelRowUpdates

public void cancelRowUpdates()
                      throws java.sql.SQLException
method not supported

Specified by:
cancelRowUpdates in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.cancelRowUpdates()

moveToInsertRow

public void moveToInsertRow()
                     throws java.sql.SQLException
method not supported

Specified by:
moveToInsertRow in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.moveToInsertRow()

moveToCurrentRow

public void moveToCurrentRow()
                      throws java.sql.SQLException
method not supported

Specified by:
moveToCurrentRow in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.moveToCurrentRow()

getStatement

public java.sql.Statement getStatement()
                                throws java.sql.SQLException
method not supported

Specified by:
getStatement in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getStatement()

getObject

public java.lang.Object getObject(int i,
                                  java.util.Map map)
                           throws java.sql.SQLException
method not supported

Specified by:
getObject in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getObject(int, java.util.Map)

getRef

public java.sql.Ref getRef(int i)
                    throws java.sql.SQLException
method not supported

Specified by:
getRef in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getRef(int)

getBlob

public java.sql.Blob getBlob(int i)
                      throws java.sql.SQLException
method not supported

Specified by:
getBlob in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBlob(int)

getClob

public java.sql.Clob getClob(int i)
                      throws java.sql.SQLException
method not supported

Specified by:
getClob in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getClob(int)

getArray

public java.sql.Array getArray(int i)
                        throws java.sql.SQLException
method not supported

Specified by:
getArray in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getArray(int)

getObject

public java.lang.Object getObject(java.lang.String colName,
                                  java.util.Map map)
                           throws java.sql.SQLException
method not supported

Specified by:
getObject in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getObject(java.lang.String, java.util.Map)

getRef

public java.sql.Ref getRef(java.lang.String colName)
                    throws java.sql.SQLException
method not supported

Specified by:
getRef in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getRef(java.lang.String)

getBlob

public java.sql.Blob getBlob(java.lang.String colName)
                      throws java.sql.SQLException
method not supported

Specified by:
getBlob in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getBlob(java.lang.String)

getClob

public java.sql.Clob getClob(java.lang.String colName)
                      throws java.sql.SQLException
method not supported

Specified by:
getClob in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getClob(java.lang.String)

getArray

public java.sql.Array getArray(java.lang.String colName)
                        throws java.sql.SQLException
method not supported

Specified by:
getArray in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getArray(java.lang.String)

getDate

public java.sql.Date getDate(int columnIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
method not supported

Specified by:
getDate in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getDate(int, java.util.Calendar)

getDate

public java.sql.Date getDate(java.lang.String columnName,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
method not supported

Specified by:
getDate in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getDate(java.lang.String, java.util.Calendar)

getTime

public java.sql.Time getTime(int columnIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
method not supported

Specified by:
getTime in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getTime(int, java.util.Calendar)

getTime

public java.sql.Time getTime(java.lang.String columnName,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
method not supported

Specified by:
getTime in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getTime(java.lang.String, java.util.Calendar)

getTimestamp

public java.sql.Timestamp getTimestamp(int columnIndex,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException
method not supported

Specified by:
getTimestamp in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getTimestamp(int, java.util.Calendar)

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String columnName,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException
method not supported

Specified by:
getTimestamp in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getTimestamp(java.lang.String, java.util.Calendar)

getURL

public java.net.URL getURL(int columnIndex)
                    throws java.sql.SQLException
method not supported

Specified by:
getURL in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getURL(int)

getURL

public java.net.URL getURL(java.lang.String columnName)
                    throws java.sql.SQLException
method not supported

Specified by:
getURL in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.getURL(java.lang.String)

updateRef

public void updateRef(int columnIndex,
                      java.sql.Ref x)
               throws java.sql.SQLException
method not supported

Specified by:
updateRef in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateRef(int, java.sql.Ref)

updateRef

public void updateRef(java.lang.String columnName,
                      java.sql.Ref x)
               throws java.sql.SQLException
method not supported

Specified by:
updateRef in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateRef(java.lang.String, java.sql.Ref)

updateBlob

public void updateBlob(int columnIndex,
                       java.sql.Blob x)
                throws java.sql.SQLException
method not supported

Specified by:
updateBlob in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateBlob(int, java.sql.Blob)

updateBlob

public void updateBlob(java.lang.String columnName,
                       java.sql.Blob x)
                throws java.sql.SQLException
method not supported

Specified by:
updateBlob in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateBlob(java.lang.String, java.sql.Blob)

updateClob

public void updateClob(int columnIndex,
                       java.sql.Clob x)
                throws java.sql.SQLException
method not supported

Specified by:
updateClob in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateClob(int, java.sql.Clob)

updateClob

public void updateClob(java.lang.String columnName,
                       java.sql.Clob x)
                throws java.sql.SQLException
method not supported

Specified by:
updateClob in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateClob(java.lang.String, java.sql.Clob)

updateArray

public void updateArray(int columnIndex,
                        java.sql.Array x)
                 throws java.sql.SQLException
method not supported

Specified by:
updateArray in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateArray(int, java.sql.Array)

updateArray

public void updateArray(java.lang.String columnName,
                        java.sql.Array x)
                 throws java.sql.SQLException
method not supported

Specified by:
updateArray in interface java.sql.ResultSet
java.sql.SQLException
See Also:
ResultSet.updateArray(java.lang.String, java.sql.Array)

toString

public java.lang.String toString()
writes the resultset in a consistent manner

Overrides:
toString in class java.lang.Object

DBAbstract API Documentation

© Copyright Radu Coravu 2002 - 2004.