uk.org.ogsadai.converters.csv.resultset
Class AbstractResultSet

java.lang.Object
  |
  +--uk.org.ogsadai.converters.csv.resultset.AbstractResultSet
All Implemented Interfaces:
CSVHandler, java.sql.ResultSet
Direct Known Subclasses:
ResultSetForwardOnly, ResultSetScrollable

public abstract class AbstractResultSet
extends java.lang.Object
implements java.sql.ResultSet, CSVHandler

This is the abstract super-class of OGSA-DAI java.sql.ResultSet classes.

Concrete sub-classes of this class are responsible for storing and returning the data so it is available for the column type strategies.

The class also implements the CSVHandler interface - concrete sub-classes must implement the methods of this interface, so allowing the construction the ResultSet to be filled with data from a CSV document.

When ResultSet is constructed from a CSV document there is no information available about column types. Therefore all columns are treated as strings and ResultSet getters try to make appropiate conversions to types requested by the user. All getters return or convert data in the form it was transmitted. The only exception being getBlob() methods which perform Base64 decoding.

Author:
The OGSA-DAI Team.

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement.
private  TypeStrategy[] mColStrategy
          Strategies for converting SQL types into Java types.
private  java.util.Map mColumnNames
          Maps column names to column numbers.
protected  java.sql.ResultSetMetaData mMetaData
          Metadata of this ResultSet.
 
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
AbstractResultSet()
           
 
Method Summary
abstract  boolean absolute(int arg0)
           
abstract  void afterLast()
           
abstract  void beforeFirst()
           
 void cancelRowUpdates()
           
 void clearWarnings()
           
 void close()
           
 void deleteRow()
           
 int findColumn(java.lang.String name)
           
abstract  boolean first()
           
 java.sql.Array getArray(int col)
           
 java.sql.Array getArray(java.lang.String name)
           
 java.io.InputStream getAsciiStream(int col)
           
 java.io.InputStream getAsciiStream(java.lang.String name)
           
 java.math.BigDecimal getBigDecimal(int col)
           
 java.math.BigDecimal getBigDecimal(int col, int arg1)
           
 java.math.BigDecimal getBigDecimal(java.lang.String name)
           
 java.math.BigDecimal getBigDecimal(java.lang.String name, int arg1)
           
 java.io.InputStream getBinaryStream(int col)
           
 java.io.InputStream getBinaryStream(java.lang.String name)
           
 java.sql.Blob getBlob(int col)
           
 java.sql.Blob getBlob(java.lang.String name)
           
 boolean getBoolean(int col)
           
 boolean getBoolean(java.lang.String name)
           
 byte getByte(int col)
           
 byte getByte(java.lang.String name)
           
 byte[] getBytes(int col)
           
 byte[] getBytes(java.lang.String name)
           
 byte[] getBytes64(int col)
          Additional convenience method that returns Base64 decoded byte array.
 byte[] getBytes64(java.lang.String name)
          Additional convenience method that returns Base64 decoded byte array.
 java.io.Reader getCharacterStream(int col)
           
 java.io.Reader getCharacterStream(java.lang.String name)
           
 java.sql.Clob getClob(int col)
           
 java.sql.Clob getClob(java.lang.String name)
           
protected abstract  java.lang.String getColumn(int column)
          Returns the data of a column,
 int getConcurrency()
           
 java.lang.String getCursorName()
           
 java.sql.Date getDate(int col)
           
 java.sql.Date getDate(int col, java.util.Calendar calendar)
           
 java.sql.Date getDate(java.lang.String name)
           
 java.sql.Date getDate(java.lang.String name, java.util.Calendar calendar)
           
 double getDouble(int col)
           
 double getDouble(java.lang.String name)
           
 int getFetchDirection()
           
 int getFetchSize()
           
 float getFloat(int col)
           
 float getFloat(java.lang.String name)
           
 int getInt(int col)
           
 int getInt(java.lang.String name)
           
 long getLong(int col)
           
 long getLong(java.lang.String name)
           
 java.sql.ResultSetMetaData getMetaData()
           
 java.lang.Object getObject(int col)
           
 java.lang.Object getObject(int col, java.util.Map arg1)
           
 java.lang.Object getObject(java.lang.String name)
           
 java.lang.Object getObject(java.lang.String arg0, java.util.Map arg1)
           
 java.sql.Ref getRef(int col)
           
 java.sql.Ref getRef(java.lang.String name)
           
abstract  int getRow()
           
 short getShort(int col)
           
 short getShort(java.lang.String name)
           
 java.sql.Statement getStatement()
           
 java.lang.String getString(int col)
           
 java.lang.String getString(java.lang.String name)
           
 java.sql.Time getTime(int col)
           
 java.sql.Time getTime(int col, java.util.Calendar calendar)
           
 java.sql.Time getTime(java.lang.String name)
           
 java.sql.Time getTime(java.lang.String name, java.util.Calendar calendar)
           
 java.sql.Timestamp getTimestamp(int col)
           
 java.sql.Timestamp getTimestamp(int col, java.util.Calendar calendar)
           
 java.sql.Timestamp getTimestamp(java.lang.String name)
           
 java.sql.Timestamp getTimestamp(java.lang.String name, java.util.Calendar calendar)
           
abstract  int getType()
           
 java.io.InputStream getUnicodeStream(int col)
           
 java.io.InputStream getUnicodeStream(java.lang.String name)
           
 java.net.URL getURL(int col)
           
 java.net.URL getURL(java.lang.String name)
           
 java.sql.SQLWarning getWarnings()
           
 void insertRow()
           
abstract  boolean isAfterLast()
           
abstract  boolean isBeforeFirst()
           
abstract  boolean isFirst()
           
abstract  boolean isLast()
           
abstract  boolean last()
           
 void moveToCurrentRow()
           
 void moveToInsertRow()
           
abstract  boolean next()
           
abstract  boolean previous()
           
 void putMetaData(java.sql.ResultSetMetaData metadata)
          Associates java.sql.ResultSetMetaData object with ResultSet.
abstract  void putRow(java.util.Vector row)
          Process or store a row of a CSV file.
 void refreshRow()
           
abstract  boolean relative(int arg0)
           
 boolean rowDeleted()
           
 boolean rowInserted()
           
 boolean rowUpdated()
           
 void setFetchDirection(int arg0)
           
 void setFetchSize(int arg0)
           
 void updateArray(int arg0, java.sql.Array arg1)
           
 void updateArray(java.lang.String arg0, java.sql.Array arg1)
           
 void updateAsciiStream(int arg0, java.io.InputStream arg1, int arg2)
           
 void updateAsciiStream(java.lang.String arg0, java.io.InputStream arg1, int arg2)
           
 void updateBigDecimal(int arg0, java.math.BigDecimal arg1)
           
 void updateBigDecimal(java.lang.String arg0, java.math.BigDecimal arg1)
           
 void updateBinaryStream(int arg0, java.io.InputStream arg1, int arg2)
           
 void updateBinaryStream(java.lang.String arg0, java.io.InputStream arg1, int arg2)
           
 void updateBlob(int arg0, java.sql.Blob arg1)
           
 void updateBlob(java.lang.String arg0, java.sql.Blob arg1)
           
 void updateBoolean(int arg0, boolean arg1)
           
 void updateBoolean(java.lang.String arg0, boolean arg1)
           
 void updateByte(int arg0, byte arg1)
           
 void updateByte(java.lang.String arg0, byte arg1)
           
 void updateBytes(int arg0, byte[] arg1)
           
 void updateBytes(java.lang.String arg0, byte[] arg1)
           
 void updateCharacterStream(int arg0, java.io.Reader arg1, int arg2)
           
 void updateCharacterStream(java.lang.String arg0, java.io.Reader arg1, int arg2)
           
 void updateClob(int arg0, java.sql.Clob arg1)
           
 void updateClob(java.lang.String arg0, java.sql.Clob arg1)
           
 void updateDate(int arg0, java.sql.Date arg1)
           
 void updateDate(java.lang.String arg0, java.sql.Date arg1)
           
 void updateDouble(int arg0, double arg1)
           
 void updateDouble(java.lang.String arg0, double arg1)
           
 void updateFloat(int arg0, float arg1)
           
 void updateFloat(java.lang.String arg0, float arg1)
           
 void updateInt(int arg0, int arg1)
           
 void updateInt(java.lang.String arg0, int arg1)
           
 void updateLong(int arg0, long arg1)
           
 void updateLong(java.lang.String arg0, long arg1)
           
 void updateNull(int arg0)
           
 void updateNull(java.lang.String arg0)
           
 void updateObject(int arg0, java.lang.Object arg1)
           
 void updateObject(int arg0, java.lang.Object arg1, int arg2)
           
 void updateObject(java.lang.String arg0, java.lang.Object arg1)
           
 void updateObject(java.lang.String arg0, java.lang.Object arg1, int arg2)
           
 void updateRef(int arg0, java.sql.Ref arg1)
           
 void updateRef(java.lang.String arg0, java.sql.Ref arg1)
           
 void updateRow()
           
 void updateShort(int arg0, short arg1)
           
 void updateShort(java.lang.String arg0, short arg1)
           
 void updateString(int arg0, java.lang.String arg1)
           
 void updateString(java.lang.String arg0, java.lang.String arg1)
           
 void updateTime(int arg0, java.sql.Time arg1)
           
 void updateTime(java.lang.String arg0, java.sql.Time arg1)
           
 void updateTimestamp(int arg0, java.sql.Timestamp arg1)
           
 void updateTimestamp(java.lang.String arg0, java.sql.Timestamp arg1)
           
 boolean wasNull()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement.

See Also:
Constant Field Values

mMetaData

protected java.sql.ResultSetMetaData mMetaData
Metadata of this ResultSet.


mColumnNames

private java.util.Map mColumnNames
Maps column names to column numbers.


mColStrategy

private TypeStrategy[] mColStrategy
Strategies for converting SQL types into Java types.

Constructor Detail

AbstractResultSet

public AbstractResultSet()
Method Detail

putRow

public abstract void putRow(java.util.Vector row)
Description copied from interface: CSVHandler
Process or store a row of a CSV file.

Specified by:
putRow in interface CSVHandler
Parameters:
row - A Vector of objects each representing a column value.

putMetaData

public void putMetaData(java.sql.ResultSetMetaData metadata)
                 throws java.sql.SQLException
Associates java.sql.ResultSetMetaData object with ResultSet.

Specified by:
putMetaData in interface CSVHandler
Parameters:
metadata -
Throws:
java.sql.SQLException - if there is a problem with accessing the metadata object or processing it.
See Also:
CSVHandler.putMetaData(java.sql.ResultSetMetaData)

getColumn

protected abstract java.lang.String getColumn(int column)
                                       throws java.sql.SQLException
Returns the data of a column,

Parameters:
column - Column index.
Returns:
data
Throws:
java.sql.SQLException - if there was a problem retrieving the data.

findColumn

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

getConcurrency

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

getFetchDirection

public int getFetchDirection()
                      throws java.sql.SQLException
Specified by:
getFetchDirection in interface java.sql.ResultSet
java.sql.SQLException

getFetchSize

public int getFetchSize()
                 throws java.sql.SQLException
Specified by:
getFetchSize in interface java.sql.ResultSet
java.sql.SQLException

getRow

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

getType

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

afterLast

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

beforeFirst

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

cancelRowUpdates

public void cancelRowUpdates()
                      throws java.sql.SQLException
Specified by:
cancelRowUpdates in interface java.sql.ResultSet
java.sql.SQLException

clearWarnings

public void clearWarnings()
                   throws java.sql.SQLException
Specified by:
clearWarnings in interface java.sql.ResultSet
java.sql.SQLException

close

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

deleteRow

public void deleteRow()
               throws java.sql.SQLException
Specified by:
deleteRow in interface java.sql.ResultSet
java.sql.SQLException

insertRow

public void insertRow()
               throws java.sql.SQLException
Specified by:
insertRow in interface java.sql.ResultSet
java.sql.SQLException

moveToCurrentRow

public void moveToCurrentRow()
                      throws java.sql.SQLException
Specified by:
moveToCurrentRow in interface java.sql.ResultSet
java.sql.SQLException

moveToInsertRow

public void moveToInsertRow()
                     throws java.sql.SQLException
Specified by:
moveToInsertRow in interface java.sql.ResultSet
java.sql.SQLException

refreshRow

public void refreshRow()
                throws java.sql.SQLException
Specified by:
refreshRow in interface java.sql.ResultSet
java.sql.SQLException

updateRow

public void updateRow()
               throws java.sql.SQLException
Specified by:
updateRow in interface java.sql.ResultSet
java.sql.SQLException

first

public abstract boolean first()
                       throws java.sql.SQLException
Specified by:
first in interface java.sql.ResultSet
java.sql.SQLException

isAfterLast

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

isBeforeFirst

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

isFirst

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

isLast

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

last

public abstract boolean last()
                      throws java.sql.SQLException
Specified by:
last in interface java.sql.ResultSet
java.sql.SQLException

next

public abstract boolean next()
                      throws java.sql.SQLException
Specified by:
next in interface java.sql.ResultSet
java.sql.SQLException

previous

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

rowDeleted

public boolean rowDeleted()
                   throws java.sql.SQLException
Specified by:
rowDeleted in interface java.sql.ResultSet
java.sql.SQLException

rowInserted

public boolean rowInserted()
                    throws java.sql.SQLException
Specified by:
rowInserted in interface java.sql.ResultSet
java.sql.SQLException

rowUpdated

public boolean rowUpdated()
                   throws java.sql.SQLException
Specified by:
rowUpdated in interface java.sql.ResultSet
java.sql.SQLException

wasNull

public boolean wasNull()
                throws java.sql.SQLException
Specified by:
wasNull in interface java.sql.ResultSet
java.sql.SQLException

getByte

public byte getByte(int col)
             throws java.sql.SQLException
Specified by:
getByte in interface java.sql.ResultSet
java.sql.SQLException

getDouble

public double getDouble(int col)
                 throws java.sql.SQLException
Specified by:
getDouble in interface java.sql.ResultSet
java.sql.SQLException

getFloat

public float getFloat(int col)
               throws java.sql.SQLException
Specified by:
getFloat in interface java.sql.ResultSet
java.sql.SQLException

getInt

public int getInt(int col)
           throws java.sql.SQLException
Specified by:
getInt in interface java.sql.ResultSet
java.sql.SQLException

getLong

public long getLong(int col)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.ResultSet
java.sql.SQLException

getShort

public short getShort(int col)
               throws java.sql.SQLException
Specified by:
getShort in interface java.sql.ResultSet
java.sql.SQLException

setFetchDirection

public void setFetchDirection(int arg0)
                       throws java.sql.SQLException
Specified by:
setFetchDirection in interface java.sql.ResultSet
java.sql.SQLException

setFetchSize

public void setFetchSize(int arg0)
                  throws java.sql.SQLException
Specified by:
setFetchSize in interface java.sql.ResultSet
java.sql.SQLException

updateNull

public void updateNull(int arg0)
                throws java.sql.SQLException
Specified by:
updateNull in interface java.sql.ResultSet
java.sql.SQLException

absolute

public abstract boolean absolute(int arg0)
                          throws java.sql.SQLException
Specified by:
absolute in interface java.sql.ResultSet
java.sql.SQLException

relative

public abstract boolean relative(int arg0)
                          throws java.sql.SQLException
Specified by:
relative in interface java.sql.ResultSet
java.sql.SQLException

getBoolean

public boolean getBoolean(int col)
                   throws java.sql.SQLException
Specified by:
getBoolean in interface java.sql.ResultSet
java.sql.SQLException

getBytes

public byte[] getBytes(int col)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.ResultSet
java.sql.SQLException

getBytes64

public byte[] getBytes64(int col)
                  throws java.sql.SQLException
Additional convenience method that returns Base64 decoded byte array.

Parameters:
col - Column number.
Returns:
Base64 decoded byte array.
Throws:
java.sql.SQLException

updateByte

public void updateByte(int arg0,
                       byte arg1)
                throws java.sql.SQLException
Specified by:
updateByte in interface java.sql.ResultSet
java.sql.SQLException

updateDouble

public void updateDouble(int arg0,
                         double arg1)
                  throws java.sql.SQLException
Specified by:
updateDouble in interface java.sql.ResultSet
java.sql.SQLException

updateFloat

public void updateFloat(int arg0,
                        float arg1)
                 throws java.sql.SQLException
Specified by:
updateFloat in interface java.sql.ResultSet
java.sql.SQLException

updateInt

public void updateInt(int arg0,
                      int arg1)
               throws java.sql.SQLException
Specified by:
updateInt in interface java.sql.ResultSet
java.sql.SQLException

updateLong

public void updateLong(int arg0,
                       long arg1)
                throws java.sql.SQLException
Specified by:
updateLong in interface java.sql.ResultSet
java.sql.SQLException

updateShort

public void updateShort(int arg0,
                        short arg1)
                 throws java.sql.SQLException
Specified by:
updateShort in interface java.sql.ResultSet
java.sql.SQLException

updateBoolean

public void updateBoolean(int arg0,
                          boolean arg1)
                   throws java.sql.SQLException
Specified by:
updateBoolean in interface java.sql.ResultSet
java.sql.SQLException

updateBytes

public void updateBytes(int arg0,
                        byte[] arg1)
                 throws java.sql.SQLException
Specified by:
updateBytes in interface java.sql.ResultSet
java.sql.SQLException

getAsciiStream

public java.io.InputStream getAsciiStream(int col)
                                   throws java.sql.SQLException
Specified by:
getAsciiStream in interface java.sql.ResultSet
java.sql.SQLException

getBinaryStream

public java.io.InputStream getBinaryStream(int col)
                                    throws java.sql.SQLException
Specified by:
getBinaryStream in interface java.sql.ResultSet
java.sql.SQLException

getUnicodeStream

public java.io.InputStream getUnicodeStream(int col)
                                     throws java.sql.SQLException
Specified by:
getUnicodeStream in interface java.sql.ResultSet
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(int arg0,
                              java.io.InputStream arg1,
                              int arg2)
                       throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(int arg0,
                               java.io.InputStream arg1,
                               int arg2)
                        throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
java.sql.SQLException

getCharacterStream

public java.io.Reader getCharacterStream(int col)
                                  throws java.sql.SQLException
Specified by:
getCharacterStream in interface java.sql.ResultSet
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(int arg0,
                                  java.io.Reader arg1,
                                  int arg2)
Specified by:
updateCharacterStream in interface java.sql.ResultSet

getObject

public java.lang.Object getObject(int col)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
java.sql.SQLException

updateObject

public void updateObject(int arg0,
                         java.lang.Object arg1)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
java.sql.SQLException

updateObject

public void updateObject(int arg0,
                         java.lang.Object arg1,
                         int arg2)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
java.sql.SQLException

getCursorName

public java.lang.String getCursorName()
                               throws java.sql.SQLException
Specified by:
getCursorName in interface java.sql.ResultSet
java.sql.SQLException

getString

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

updateString

public void updateString(int arg0,
                         java.lang.String arg1)
                  throws java.sql.SQLException
Specified by:
updateString in interface java.sql.ResultSet
java.sql.SQLException

getByte

public byte getByte(java.lang.String name)
             throws java.sql.SQLException
Specified by:
getByte in interface java.sql.ResultSet
java.sql.SQLException

getDouble

public double getDouble(java.lang.String name)
                 throws java.sql.SQLException
Specified by:
getDouble in interface java.sql.ResultSet
java.sql.SQLException

getFloat

public float getFloat(java.lang.String name)
               throws java.sql.SQLException
Specified by:
getFloat in interface java.sql.ResultSet
java.sql.SQLException

getInt

public int getInt(java.lang.String name)
           throws java.sql.SQLException
Specified by:
getInt in interface java.sql.ResultSet
java.sql.SQLException

getLong

public long getLong(java.lang.String name)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.ResultSet
java.sql.SQLException

getShort

public short getShort(java.lang.String name)
               throws java.sql.SQLException
Specified by:
getShort in interface java.sql.ResultSet
java.sql.SQLException

updateNull

public void updateNull(java.lang.String arg0)
                throws java.sql.SQLException
Specified by:
updateNull in interface java.sql.ResultSet
java.sql.SQLException

getBoolean

public boolean getBoolean(java.lang.String name)
                   throws java.sql.SQLException
Specified by:
getBoolean in interface java.sql.ResultSet
java.sql.SQLException

getBytes

public byte[] getBytes(java.lang.String name)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.ResultSet
java.sql.SQLException

getBytes64

public byte[] getBytes64(java.lang.String name)
                  throws java.sql.SQLException
Additional convenience method that returns Base64 decoded byte array.

Parameters:
name - Column name.
Returns:
Base64 decoded byte array.
Throws:
java.sql.SQLException

updateByte

public void updateByte(java.lang.String arg0,
                       byte arg1)
                throws java.sql.SQLException
Specified by:
updateByte in interface java.sql.ResultSet
java.sql.SQLException

updateDouble

public void updateDouble(java.lang.String arg0,
                         double arg1)
                  throws java.sql.SQLException
Specified by:
updateDouble in interface java.sql.ResultSet
java.sql.SQLException

updateFloat

public void updateFloat(java.lang.String arg0,
                        float arg1)
                 throws java.sql.SQLException
Specified by:
updateFloat in interface java.sql.ResultSet
java.sql.SQLException

updateInt

public void updateInt(java.lang.String arg0,
                      int arg1)
               throws java.sql.SQLException
Specified by:
updateInt in interface java.sql.ResultSet
java.sql.SQLException

updateLong

public void updateLong(java.lang.String arg0,
                       long arg1)
                throws java.sql.SQLException
Specified by:
updateLong in interface java.sql.ResultSet
java.sql.SQLException

updateShort

public void updateShort(java.lang.String arg0,
                        short arg1)
                 throws java.sql.SQLException
Specified by:
updateShort in interface java.sql.ResultSet
java.sql.SQLException

updateBoolean

public void updateBoolean(java.lang.String arg0,
                          boolean arg1)
                   throws java.sql.SQLException
Specified by:
updateBoolean in interface java.sql.ResultSet
java.sql.SQLException

updateBytes

public void updateBytes(java.lang.String arg0,
                        byte[] arg1)
                 throws java.sql.SQLException
Specified by:
updateBytes in interface java.sql.ResultSet
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(int col)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.ResultSet
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(int col,
                                          int arg1)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.ResultSet
java.sql.SQLException

updateBigDecimal

public void updateBigDecimal(int arg0,
                             java.math.BigDecimal arg1)
                      throws java.sql.SQLException
Specified by:
updateBigDecimal in interface java.sql.ResultSet
java.sql.SQLException

getURL

public java.net.URL getURL(int col)
                    throws java.sql.SQLException
Specified by:
getURL in interface java.sql.ResultSet
java.sql.SQLException

getArray

public java.sql.Array getArray(int col)
                        throws java.sql.SQLException
Specified by:
getArray in interface java.sql.ResultSet
java.sql.SQLException

updateArray

public void updateArray(int arg0,
                        java.sql.Array arg1)
                 throws java.sql.SQLException
Specified by:
updateArray in interface java.sql.ResultSet
java.sql.SQLException

getBlob

public java.sql.Blob getBlob(int col)
                      throws java.sql.SQLException
Specified by:
getBlob in interface java.sql.ResultSet
java.sql.SQLException

updateBlob

public void updateBlob(int arg0,
                       java.sql.Blob arg1)
                throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
java.sql.SQLException

getClob

public java.sql.Clob getClob(int col)
                      throws java.sql.SQLException
Specified by:
getClob in interface java.sql.ResultSet
java.sql.SQLException

updateClob

public void updateClob(int arg0,
                       java.sql.Clob arg1)
                throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
java.sql.SQLException

getDate

public java.sql.Date getDate(int col)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
java.sql.SQLException

updateDate

public void updateDate(int arg0,
                       java.sql.Date arg1)
                throws java.sql.SQLException
Specified by:
updateDate in interface java.sql.ResultSet
java.sql.SQLException

getRef

public java.sql.Ref getRef(int col)
                    throws java.sql.SQLException
Specified by:
getRef in interface java.sql.ResultSet
java.sql.SQLException

updateRef

public void updateRef(int arg0,
                      java.sql.Ref arg1)
               throws java.sql.SQLException
Specified by:
updateRef in interface java.sql.ResultSet
java.sql.SQLException

getMetaData

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

getWarnings

public java.sql.SQLWarning getWarnings()
                                throws java.sql.SQLException
Specified by:
getWarnings in interface java.sql.ResultSet
java.sql.SQLException

getStatement

public java.sql.Statement getStatement()
                                throws java.sql.SQLException
Specified by:
getStatement in interface java.sql.ResultSet
java.sql.SQLException

getTime

public java.sql.Time getTime(int col)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
java.sql.SQLException

updateTime

public void updateTime(int arg0,
                       java.sql.Time arg1)
                throws java.sql.SQLException
Specified by:
updateTime in interface java.sql.ResultSet
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int col)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
java.sql.SQLException

updateTimestamp

public void updateTimestamp(int arg0,
                            java.sql.Timestamp arg1)
                     throws java.sql.SQLException
Specified by:
updateTimestamp in interface java.sql.ResultSet
java.sql.SQLException

getAsciiStream

public java.io.InputStream getAsciiStream(java.lang.String name)
                                   throws java.sql.SQLException
Specified by:
getAsciiStream in interface java.sql.ResultSet
java.sql.SQLException

getBinaryStream

public java.io.InputStream getBinaryStream(java.lang.String name)
                                    throws java.sql.SQLException
Specified by:
getBinaryStream in interface java.sql.ResultSet
java.sql.SQLException

getUnicodeStream

public java.io.InputStream getUnicodeStream(java.lang.String name)
                                     throws java.sql.SQLException
Specified by:
getUnicodeStream in interface java.sql.ResultSet
java.sql.SQLException

updateAsciiStream

public void updateAsciiStream(java.lang.String arg0,
                              java.io.InputStream arg1,
                              int arg2)
                       throws java.sql.SQLException
Specified by:
updateAsciiStream in interface java.sql.ResultSet
java.sql.SQLException

updateBinaryStream

public void updateBinaryStream(java.lang.String arg0,
                               java.io.InputStream arg1,
                               int arg2)
                        throws java.sql.SQLException
Specified by:
updateBinaryStream in interface java.sql.ResultSet
java.sql.SQLException

getCharacterStream

public java.io.Reader getCharacterStream(java.lang.String name)
                                  throws java.sql.SQLException
Specified by:
getCharacterStream in interface java.sql.ResultSet
java.sql.SQLException

updateCharacterStream

public void updateCharacterStream(java.lang.String arg0,
                                  java.io.Reader arg1,
                                  int arg2)
                           throws java.sql.SQLException
Specified by:
updateCharacterStream in interface java.sql.ResultSet
java.sql.SQLException

getObject

public java.lang.Object getObject(java.lang.String name)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
java.sql.SQLException

updateObject

public void updateObject(java.lang.String arg0,
                         java.lang.Object arg1)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
java.sql.SQLException

updateObject

public void updateObject(java.lang.String arg0,
                         java.lang.Object arg1,
                         int arg2)
                  throws java.sql.SQLException
Specified by:
updateObject in interface java.sql.ResultSet
java.sql.SQLException

getObject

public java.lang.Object getObject(int col,
                                  java.util.Map arg1)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
java.sql.SQLException

getString

public java.lang.String getString(java.lang.String name)
                           throws java.sql.SQLException
Specified by:
getString in interface java.sql.ResultSet
java.sql.SQLException

updateString

public void updateString(java.lang.String arg0,
                         java.lang.String arg1)
                  throws java.sql.SQLException
Specified by:
updateString in interface java.sql.ResultSet
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String name)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.ResultSet
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String name,
                                          int arg1)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.ResultSet
java.sql.SQLException

updateBigDecimal

public void updateBigDecimal(java.lang.String arg0,
                             java.math.BigDecimal arg1)
                      throws java.sql.SQLException
Specified by:
updateBigDecimal in interface java.sql.ResultSet
java.sql.SQLException

getURL

public java.net.URL getURL(java.lang.String name)
                    throws java.sql.SQLException
Specified by:
getURL in interface java.sql.ResultSet
java.sql.SQLException

getArray

public java.sql.Array getArray(java.lang.String name)
                        throws java.sql.SQLException
Specified by:
getArray in interface java.sql.ResultSet
java.sql.SQLException

updateArray

public void updateArray(java.lang.String arg0,
                        java.sql.Array arg1)
                 throws java.sql.SQLException
Specified by:
updateArray in interface java.sql.ResultSet
java.sql.SQLException

getBlob

public java.sql.Blob getBlob(java.lang.String name)
                      throws java.sql.SQLException
Specified by:
getBlob in interface java.sql.ResultSet
java.sql.SQLException

updateBlob

public void updateBlob(java.lang.String arg0,
                       java.sql.Blob arg1)
                throws java.sql.SQLException
Specified by:
updateBlob in interface java.sql.ResultSet
java.sql.SQLException

getClob

public java.sql.Clob getClob(java.lang.String name)
                      throws java.sql.SQLException
Specified by:
getClob in interface java.sql.ResultSet
java.sql.SQLException

updateClob

public void updateClob(java.lang.String arg0,
                       java.sql.Clob arg1)
                throws java.sql.SQLException
Specified by:
updateClob in interface java.sql.ResultSet
java.sql.SQLException

getDate

public java.sql.Date getDate(java.lang.String name)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
java.sql.SQLException

updateDate

public void updateDate(java.lang.String arg0,
                       java.sql.Date arg1)
                throws java.sql.SQLException
Specified by:
updateDate in interface java.sql.ResultSet
java.sql.SQLException

getDate

public java.sql.Date getDate(int col,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
java.sql.SQLException

getRef

public java.sql.Ref getRef(java.lang.String name)
                    throws java.sql.SQLException
Specified by:
getRef in interface java.sql.ResultSet
java.sql.SQLException

updateRef

public void updateRef(java.lang.String arg0,
                      java.sql.Ref arg1)
               throws java.sql.SQLException
Specified by:
updateRef in interface java.sql.ResultSet
java.sql.SQLException

getTime

public java.sql.Time getTime(java.lang.String name)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
java.sql.SQLException

updateTime

public void updateTime(java.lang.String arg0,
                       java.sql.Time arg1)
                throws java.sql.SQLException
Specified by:
updateTime in interface java.sql.ResultSet
java.sql.SQLException

getTime

public java.sql.Time getTime(int col,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String name)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
java.sql.SQLException

updateTimestamp

public void updateTimestamp(java.lang.String arg0,
                            java.sql.Timestamp arg1)
                     throws java.sql.SQLException
Specified by:
updateTimestamp in interface java.sql.ResultSet
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int col,
                                       java.util.Calendar calendar)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
java.sql.SQLException

getObject

public java.lang.Object getObject(java.lang.String arg0,
                                  java.util.Map arg1)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.ResultSet
java.sql.SQLException

getDate

public java.sql.Date getDate(java.lang.String name,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.ResultSet
java.sql.SQLException

getTime

public java.sql.Time getTime(java.lang.String name,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.ResultSet
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String name,
                                       java.util.Calendar calendar)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.ResultSet
java.sql.SQLException