org.postgresql.pljava.jdbc

Class AbstractResultSet

Implemented Interfaces:
ResultSet
Known Direct Subclasses:
ObjectResultSet

public abstract class AbstractResultSet
extends java.lang.Object
implements ResultSet

The AbstractResultSet serves as a base class for implementations of thejava.sql.ResultSet interface. All calls using columnNames are translated into the corresponding call with index position computed using a call to findColumn.

Method Summary

Array
getArray(String columnName)
InputStream
getAsciiStream(String columnName)
BigDecimal
getBigDecimal(String columnName)
BigDecimal
getBigDecimal(String columnName, int scale)
Deprecated.
InputStream
getBinaryStream(String columnName)
Blob
getBlob(String columnName)
boolean
getBoolean(String columnName)
byte
getByte(String columnName)
byte[]
getBytes(String columnName)
Reader
getCharacterStream(String columnName)
Clob
getClob(String columnName)
String
getCursorName()
Date
getDate(String columnName)
Date
getDate(String columnName, Calendar cal)
double
getDouble(String columnName)
float
getFloat(String columnName)
int
getInt(String columnName)
long
getLong(String columnName)
Object
getObject(String columnName)
Object
getObject(String columnName, Map map)
Ref
getRef(String columnName)
short
getShort(String columnName)
Statement
getStatement()
String
getString(String columnName)
Time
getTime(String columnName)
Time
getTime(String columnName, Calendar cal)
Timestamp
getTimestamp(String columnName)
Timestamp
getTimestamp(String columnName, Calendar cal)
URL
getURL(String columnName)
InputStream
getUnicodeStream(String columnName)
Deprecated.
void
updateArray(String columnName, Array x)
void
updateAsciiStream(String columnName, InputStream x, int length)
void
updateBigDecimal(String columnName, BigDecimal x)
void
updateBinaryStream(String columnName, InputStream x, int length)
void
updateBlob(String columnName, Blob x)
void
updateBoolean(String columnName, boolean x)
void
updateByte(String columnName, byte x)
void
updateBytes(String columnName, x[] )
void
updateCharacterStream(String columnName, Reader x, int length)
void
updateClob(String columnName, Clob x)
void
updateDate(String columnName, Date x)
void
updateDouble(String columnName, double x)
void
updateFloat(String columnName, float x)
void
updateInt(String columnName, int x)
void
updateLong(String columnName, long x)
void
updateNull(String columnName)
void
updateObject(String columnName, Object x)
void
updateObject(String columnName, Object x, int scale)
void
updateRef(String columnName, Ref x)
void
updateShort(String columnName, short x)
void
updateString(String columnName, String x)
void
updateTime(String columnName, Time x)
void
updateTimestamp(String columnName, Timestamp x)

Method Details

getArray

public Array getArray(String columnName)
            throws SQLException

getAsciiStream

public InputStream getAsciiStream(String columnName)
            throws SQLException

getBigDecimal

public BigDecimal getBigDecimal(String columnName)
            throws SQLException

getBigDecimal

public BigDecimal getBigDecimal(String columnName,
                                int scale)
            throws SQLException

Deprecated.


getBinaryStream

public InputStream getBinaryStream(String columnName)
            throws SQLException

getBlob

public Blob getBlob(String columnName)
            throws SQLException

getBoolean

public boolean getBoolean(String columnName)
            throws SQLException

getByte

public byte getByte(String columnName)
            throws SQLException

getBytes

public byte[] getBytes(String columnName)
            throws SQLException

getCharacterStream

public Reader getCharacterStream(String columnName)
            throws SQLException

getClob

public Clob getClob(String columnName)
            throws SQLException

getCursorName

public String getCursorName()
            throws SQLException

getDate

public Date getDate(String columnName)
            throws SQLException

getDate

public Date getDate(String columnName,
                    Calendar cal)
            throws SQLException

getDouble

public double getDouble(String columnName)
            throws SQLException

getFloat

public float getFloat(String columnName)
            throws SQLException

getInt

public int getInt(String columnName)
            throws SQLException

getLong

public long getLong(String columnName)
            throws SQLException

getObject

public Object getObject(String columnName)
            throws SQLException

getObject

public Object getObject(String columnName,
                        Map map)
            throws SQLException

getRef

public Ref getRef(String columnName)
            throws SQLException

getShort

public short getShort(String columnName)
            throws SQLException

getStatement

public Statement getStatement()
            throws SQLException

getString

public String getString(String columnName)
            throws SQLException

getTime

public Time getTime(String columnName)
            throws SQLException

getTime

public Time getTime(String columnName,
                    Calendar cal)
            throws SQLException

getTimestamp

public Timestamp getTimestamp(String columnName)
            throws SQLException

getTimestamp

public Timestamp getTimestamp(String columnName,
                              Calendar cal)
            throws SQLException

getURL

public URL getURL(String columnName)
            throws SQLException

getUnicodeStream

public InputStream getUnicodeStream(String columnName)
            throws SQLException

Deprecated.


updateArray

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

updateAsciiStream

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

updateBigDecimal

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

updateBinaryStream

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

updateBlob

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

updateBoolean

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

updateByte

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

updateBytes

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

updateCharacterStream

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

updateClob

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

updateDate

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

updateDouble

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

updateFloat

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

updateInt

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

updateLong

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

updateNull

public void updateNull(String columnName)
            throws SQLException

updateObject

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

updateObject

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

updateRef

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

updateShort

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

updateString

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

updateTime

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

updateTimestamp

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

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