com.ibatis.sqlmap.client.extensions
Interface ResultGetter

All Known Implementing Classes:
ResultGetterImpl

public interface ResultGetter

Allows values to be retrieved from the underlying result set. TypeHandlerCallback implementations use this interface to get values that they can subsequently manipulate before having them returned. Each of these methods has a corresponding method on the ResultSet (or CallableStatement) class, the only difference being that there is no need to specify the column name or index with these methods.

NOTE: There is no need to implement this. The implementation will be passed into the TypeHandlerCallback automatically.


Method Summary
 java.sql.Array getArray()
           
 java.math.BigDecimal getBigDecimal()
           
 java.sql.Blob getBlob()
           
 boolean getBoolean()
           
 byte getByte()
           
 byte[] getBytes()
           
 java.sql.Clob getClob()
           
 java.sql.Date getDate()
           
 java.sql.Date getDate(java.util.Calendar cal)
           
 double getDouble()
           
 float getFloat()
           
 int getInt()
           
 long getLong()
           
 java.lang.Object getObject()
           
 java.lang.Object getObject(java.util.Map map)
           
 java.sql.Ref getRef()
           
 short getShort()
           
 java.lang.String getString()
           
 java.sql.Time getTime()
           
 java.sql.Time getTime(java.util.Calendar cal)
           
 java.sql.Timestamp getTimestamp()
           
 java.sql.Timestamp getTimestamp(java.util.Calendar cal)
           
 java.net.URL getURL()
           
 boolean wasNull()
           
 

Method Detail

getArray

public java.sql.Array getArray()
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal()
                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

getBlob

public java.sql.Blob getBlob()
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getBoolean

public boolean getBoolean()
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

getByte

public byte getByte()
             throws java.sql.SQLException
Throws:
java.sql.SQLException

getBytes

public byte[] getBytes()
                throws java.sql.SQLException
Throws:
java.sql.SQLException

getClob

public java.sql.Clob getClob()
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate()
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(java.util.Calendar cal)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getDouble

public double getDouble()
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getFloat

public float getFloat()
               throws java.sql.SQLException
Throws:
java.sql.SQLException

getInt

public int getInt()
           throws java.sql.SQLException
Throws:
java.sql.SQLException

getLong

public long getLong()
             throws java.sql.SQLException
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject()
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(java.util.Map map)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

getRef

public java.sql.Ref getRef()
                    throws java.sql.SQLException
Throws:
java.sql.SQLException

getShort

public short getShort()
               throws java.sql.SQLException
Throws:
java.sql.SQLException

getString

public java.lang.String getString()
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime()
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(java.util.Calendar cal)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp()
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(java.util.Calendar cal)
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

getURL

public java.net.URL getURL()
                    throws java.sql.SQLException
Throws:
java.sql.SQLException

wasNull

public boolean wasNull()
                throws java.sql.SQLException
Throws:
java.sql.SQLException