org.postgresql.pljava.jdbc
Class ObjectResultSet

java.lang.Object
  extended by org.postgresql.pljava.jdbc.AbstractResultSet
      extended by org.postgresql.pljava.jdbc.ObjectResultSet
All Implemented Interfaces:
ResultSet
Direct Known Subclasses:
ReadOnlyResultSet, SingleRowResultSet

public abstract class ObjectResultSet
extends AbstractResultSet

Author:
Thomas Hallgren

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
ObjectResultSet()
           
 
Method Summary
 void clearWarnings()
          This is a noop since warnings are not supported.
 Array getArray(int columnIndex)
           
 InputStream getAsciiStream(int columnIndex)
           
 BigDecimal getBigDecimal(int columnIndex)
           
 BigDecimal getBigDecimal(int columnIndex, int scale)
          Deprecated.  
 InputStream getBinaryStream(int columnIndex)
           
 Blob getBlob(int columnIndex)
           
 boolean getBoolean(int columnIndex)
           
 byte getByte(int columnIndex)
           
 byte[] getBytes(int columnIndex)
           
 Reader getCharacterStream(int columnIndex)
           
 Clob getClob(int columnIndex)
           
 Date getDate(int columnIndex)
           
 Date getDate(int columnIndex, Calendar cal)
           
 double getDouble(int columnIndex)
           
 float getFloat(int columnIndex)
           
 int getInt(int columnIndex)
           
 long getLong(int columnIndex)
           
 ResultSetMetaData getMetaData()
          ResultSetMetaData is not yet supported.
protected  Number getNumber(int columnIndex, Class cls)
           
 Object getObject(int columnIndex)
           
 Object getObject(int columnIndex, Map map)
           
protected abstract  Object getObjectValue(int columnIndex)
           
protected  Object getObjectValue(int columnIndex, Map typeMap)
           
 Ref getRef(int columnIndex)
           
 short getShort(int columnIndex)
           
 String getString(int columnIndex)
           
 Time getTime(int columnIndex)
           
 Time getTime(int columnIndex, Calendar cal)
           
 Timestamp getTimestamp(int columnIndex)
           
 Timestamp getTimestamp(int columnIndex, Calendar cal)
           
 InputStream getUnicodeStream(int columnIndex)
          Deprecated.  
 URL getURL(int columnIndex)
           
protected  Object getValue(int columnIndex, Class cls)
           
protected  Object getValue(int columnIndex, Class cls, Calendar cal)
           
 SQLWarning getWarnings()
           
 void refreshRow()
          Refresh row is not yet implemented.
 void updateArray(int columnIndex, Array x)
           
 void updateAsciiStream(int columnIndex, InputStream x, int length)
           
 void updateBigDecimal(int columnIndex, BigDecimal x)
           
 void updateBinaryStream(int columnIndex, InputStream x, int length)
           
 void updateBlob(int columnIndex, Blob x)
           
 void updateBoolean(int columnIndex, boolean x)
           
 void updateByte(int columnIndex, byte x)
           
 void updateBytes(int columnIndex, byte[] x)
           
 void updateCharacterStream(int columnIndex, Reader x, int length)
           
 void updateClob(int columnIndex, Clob x)
           
 void updateDate(int columnIndex, Date x)
           
 void updateDouble(int columnIndex, double x)
           
 void updateFloat(int columnIndex, float x)
           
 void updateInt(int columnIndex, int x)
           
 void updateLong(int columnIndex, long x)
           
 void updateNull(int columnIndex)
           
 void updateRef(int columnIndex, Ref x)
           
 void updateShort(int columnIndex, short x)
           
 void updateString(int columnIndex, String x)
           
 void updateTime(int columnIndex, Time x)
           
 void updateTimestamp(int columnIndex, Timestamp x)
           
 boolean wasNull()
           
 
Methods inherited from class org.postgresql.pljava.jdbc.AbstractResultSet
getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getCursorName, getDate, getDate, getDouble, getFloat, getInt, getLong, getObject, getObject, getRef, getShort, getStatement, getString, getTime, getTime, getTimestamp, getTimestamp, getUnicodeStream, getURL, updateArray, updateAsciiStream, updateBigDecimal, updateBinaryStream, updateBlob, updateBoolean, updateByte, updateBytes, updateCharacterStream, updateClob, updateDate, updateDouble, updateFloat, updateInt, updateLong, updateNull, updateObject, updateObject, updateRef, updateShort, updateString, updateTime, updateTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.ResultSet
absolute, afterLast, beforeFirst, cancelRowUpdates, close, deleteRow, findColumn, first, getConcurrency, getFetchDirection, getFetchSize, getRow, getType, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, next, previous, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateObject, updateObject, updateRow
 

Constructor Detail

ObjectResultSet

public ObjectResultSet()
Method Detail

clearWarnings

public void clearWarnings()
                   throws SQLException
This is a noop since warnings are not supported.

Throws:
SQLException

getArray

public Array getArray(int columnIndex)
               throws SQLException
Throws:
SQLException

getAsciiStream

public InputStream getAsciiStream(int columnIndex)
                           throws SQLException
Throws:
SQLException

getBigDecimal

public BigDecimal getBigDecimal(int columnIndex)
                         throws SQLException
Throws:
SQLException

getBigDecimal

public BigDecimal getBigDecimal(int columnIndex,
                                int scale)
                         throws SQLException
Deprecated. 

Throws:
SQLException

getBinaryStream

public InputStream getBinaryStream(int columnIndex)
                            throws SQLException
Throws:
SQLException

getBlob

public Blob getBlob(int columnIndex)
             throws SQLException
Throws:
SQLException

getBoolean

public boolean getBoolean(int columnIndex)
                   throws SQLException
Throws:
SQLException

getByte

public byte getByte(int columnIndex)
             throws SQLException
Throws:
SQLException

getBytes

public byte[] getBytes(int columnIndex)
                throws SQLException
Throws:
SQLException

getCharacterStream

public Reader getCharacterStream(int columnIndex)
                          throws SQLException
Throws:
SQLException

getClob

public Clob getClob(int columnIndex)
             throws SQLException
Throws:
SQLException

getDate

public Date getDate(int columnIndex)
             throws SQLException
Throws:
SQLException

getDate

public Date getDate(int columnIndex,
                    Calendar cal)
             throws SQLException
Throws:
SQLException

getDouble

public double getDouble(int columnIndex)
                 throws SQLException
Throws:
SQLException

getFloat

public float getFloat(int columnIndex)
               throws SQLException
Throws:
SQLException

getInt

public int getInt(int columnIndex)
           throws SQLException
Throws:
SQLException

getLong

public long getLong(int columnIndex)
             throws SQLException
Throws:
SQLException

getMetaData

public ResultSetMetaData getMetaData()
                              throws SQLException
ResultSetMetaData is not yet supported.

Throws:
SQLException - indicating that this feature is not supported.

getObject

public final Object getObject(int columnIndex)
                       throws SQLException
Throws:
SQLException

getObject

public final Object getObject(int columnIndex,
                              Map map)
                       throws SQLException
Throws:
SQLException

getRef

public Ref getRef(int columnIndex)
           throws SQLException
Throws:
SQLException

getShort

public short getShort(int columnIndex)
               throws SQLException
Throws:
SQLException

getString

public String getString(int columnIndex)
                 throws SQLException
Throws:
SQLException

getTime

public Time getTime(int columnIndex)
             throws SQLException
Throws:
SQLException

getTime

public Time getTime(int columnIndex,
                    Calendar cal)
             throws SQLException
Throws:
SQLException

getTimestamp

public Timestamp getTimestamp(int columnIndex)
                       throws SQLException
Throws:
SQLException

getTimestamp

public Timestamp getTimestamp(int columnIndex,
                              Calendar cal)
                       throws SQLException
Throws:
SQLException

getUnicodeStream

public InputStream getUnicodeStream(int columnIndex)
                             throws SQLException
Deprecated. 

Throws:
SQLException

getURL

public URL getURL(int columnIndex)
           throws SQLException
Throws:
SQLException

getWarnings

public SQLWarning getWarnings()
                       throws SQLException
Throws:
SQLException

refreshRow

public void refreshRow()
                throws SQLException
Refresh row is not yet implemented.

Throws:
SQLException - indicating that this feature is not supported.

updateArray

public void updateArray(int columnIndex,
                        Array x)
                 throws SQLException
Throws:
SQLException

updateAsciiStream

public void updateAsciiStream(int columnIndex,
                              InputStream x,
                              int length)
                       throws SQLException
Throws:
SQLException

updateBigDecimal

public void updateBigDecimal(int columnIndex,
                             BigDecimal x)
                      throws SQLException
Throws:
SQLException

updateBinaryStream

public void updateBinaryStream(int columnIndex,
                               InputStream x,
                               int length)
                        throws SQLException
Throws:
SQLException

updateBlob

public void updateBlob(int columnIndex,
                       Blob x)
                throws SQLException
Throws:
SQLException

updateBoolean

public void updateBoolean(int columnIndex,
                          boolean x)
                   throws SQLException
Throws:
SQLException

updateByte

public void updateByte(int columnIndex,
                       byte x)
                throws SQLException
Throws:
SQLException

updateBytes

public void updateBytes(int columnIndex,
                        byte[] x)
                 throws SQLException
Throws:
SQLException

updateCharacterStream

public void updateCharacterStream(int columnIndex,
                                  Reader x,
                                  int length)
                           throws SQLException
Throws:
SQLException

updateClob

public void updateClob(int columnIndex,
                       Clob x)
                throws SQLException
Throws:
SQLException

updateDate

public void updateDate(int columnIndex,
                       Date x)
                throws SQLException
Throws:
SQLException

updateDouble

public void updateDouble(int columnIndex,
                         double x)
                  throws SQLException
Throws:
SQLException

updateFloat

public void updateFloat(int columnIndex,
                        float x)
                 throws SQLException
Throws:
SQLException

updateInt

public void updateInt(int columnIndex,
                      int x)
               throws SQLException
Throws:
SQLException

updateLong

public void updateLong(int columnIndex,
                       long x)
                throws SQLException
Throws:
SQLException

updateNull

public void updateNull(int columnIndex)
                throws SQLException
Throws:
SQLException

updateRef

public void updateRef(int columnIndex,
                      Ref x)
               throws SQLException
Throws:
SQLException

updateShort

public void updateShort(int columnIndex,
                        short x)
                 throws SQLException
Throws:
SQLException

updateString

public void updateString(int columnIndex,
                         String x)
                  throws SQLException
Throws:
SQLException

updateTime

public void updateTime(int columnIndex,
                       Time x)
                throws SQLException
Throws:
SQLException

updateTimestamp

public void updateTimestamp(int columnIndex,
                            Timestamp x)
                     throws SQLException
Throws:
SQLException

wasNull

public boolean wasNull()

getNumber

protected final Number getNumber(int columnIndex,
                                 Class cls)
                          throws SQLException
Throws:
SQLException

getValue

protected final Object getValue(int columnIndex,
                                Class cls)
                         throws SQLException
Throws:
SQLException

getValue

protected Object getValue(int columnIndex,
                          Class cls,
                          Calendar cal)
                   throws SQLException
Throws:
SQLException

getObjectValue

protected Object getObjectValue(int columnIndex,
                                Map typeMap)
                         throws SQLException
Throws:
SQLException

getObjectValue

protected abstract Object getObjectValue(int columnIndex)
                                  throws SQLException
Throws:
SQLException