| |
|
| com.ibatis.sqlmap.client.extensions.ResultGetter
All known Subclasses: com.ibatis.sqlmap.engine.type.ResultGetterImpl,
ResultGetter | public interface ResultGetter (Code) | | 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.
|
getArray | public Array getArray() throws SQLException(Code) | | Gets an array from the underlying result set
- the array throws: SQLException - - if the underlying result set throws an exception |
getBigDecimal | public BigDecimal getBigDecimal() throws SQLException(Code) | | Gets a BigDecimal from the underlying result set
- the BigDecimal throws: SQLException - - if the underlying result set throws an exception |
getBlob | public Blob getBlob() throws SQLException(Code) | | Gets a Blob from the underlying result set
- the Blob throws: SQLException - - if the underlying result set throws an exception |
getBoolean | public boolean getBoolean() throws SQLException(Code) | | Gets a boolean from the underlying result set
- the boolean throws: SQLException - - if the underlying result set throws an exception |
getByte | public byte getByte() throws SQLException(Code) | | Gets a byte from the underlying result set
- the byte throws: SQLException - - if the underlying result set throws an exception |
getBytes | public byte[] getBytes() throws SQLException(Code) | | Gets a byte[] from the underlying result set
- the byte[] throws: SQLException - - if the underlying result set throws an exception |
getClob | public Clob getClob() throws SQLException(Code) | | Gets a Clob from the underlying result set
- the Clob throws: SQLException - - if the underlying result set throws an exception |
getColumnIndex | public int getColumnIndex()(Code) | | Returns the index of the column being got in the underlying ResultSet.
Only use this method if the value returned from getColumnName
is null.
the index of the column (if zero then use the column name) |
getColumnName | public String getColumnName()(Code) | | Returns the name of the column being got in the underlying ResultSet.
May be null in which case the getColumnIndex
method should be used.
the column name (may be null) |
getDate | public Date getDate() throws SQLException(Code) | | Gets a Date from the underlying result set
- the Date throws: SQLException - - if the underlying result set throws an exception |
getDate | public Date getDate(Calendar cal) throws SQLException(Code) | | Gets a Date from the underlying result set using a calendar
Parameters: cal - - the Calendar - the Date throws: SQLException - - if the underlying result set throws an exception |
getDouble | public double getDouble() throws SQLException(Code) | | Gets a double from the underlying result set
- the double throws: SQLException - - if the underlying result set throws an exception |
getFloat | public float getFloat() throws SQLException(Code) | | Gets a float from the underlying result set
- the float throws: SQLException - - if the underlying result set throws an exception |
getInt | public int getInt() throws SQLException(Code) | | Gets an int from the underlying result set
- the int throws: SQLException - - if the underlying result set throws an exception |
getLong | public long getLong() throws SQLException(Code) | | Gets a long from the underlying result set
- the long throws: SQLException - - if the underlying result set throws an exception |
getObject | public Object getObject() throws SQLException(Code) | | Gets an Object from the underlying result set
- the Object throws: SQLException - - if the underlying result set throws an exception |
getObject | public Object getObject(Map map) throws SQLException(Code) | | Gets an Object from the underlying result set using a Map
Parameters: map - - the Map - the Object throws: SQLException - - if the underlying result set throws an exception |
getRef | public Ref getRef() throws SQLException(Code) | | Gets a Ref from the underlying result set
- the Ref throws: SQLException - - if the underlying result set throws an exception |
getResultSet | public ResultSet getResultSet()(Code) | | Returns the underlying ResultSet...be careful!
a ResultSet instance. |
getShort | public short getShort() throws SQLException(Code) | | Gets a short from the underlying result set
- the short throws: SQLException - - if the underlying result set throws an exception |
getString | public String getString() throws SQLException(Code) | | Gets a String from the underlying result set
- the String throws: SQLException - - if the underlying result set throws an exception |
getTime | public Time getTime() throws SQLException(Code) | | Gets a Time from the underlying result set
- the Time throws: SQLException - - if the underlying result set throws an exception |
getTime | public Time getTime(Calendar cal) throws SQLException(Code) | | Gets a Time from the underlying result set using a Calendar
Parameters: cal - - the Calendar - the Time throws: SQLException - - if the underlying result set throws an exception |
getTimestamp | public Timestamp getTimestamp() throws SQLException(Code) | | Gets a Timestamp from the underlying result set
- the Timestamp throws: SQLException - - if the underlying result set throws an exception |
getTimestamp | public Timestamp getTimestamp(Calendar cal) throws SQLException(Code) | | Gets a Timestamp from the underlying result set
Parameters: cal - - the Calendar - the Timestamp throws: SQLException - - if the underlying result set throws an exception |
getURL | public URL getURL() throws SQLException(Code) | | Gets a URL from the underlying result set
- the URL throws: SQLException - - if the underlying result set throws an exception |
wasNull | public boolean wasNull() throws SQLException(Code) | | Tells if the field was null
- true if it was null throws: SQLException - - if the underlying result set throws an exception |
|
|
|