com.ibatis.sqlmap.engine.type
Class ResultGetterImpl
java.lang.Object
com.ibatis.sqlmap.engine.type.ResultGetterImpl
- All Implemented Interfaces:
- ResultGetter
- public class ResultGetterImpl
- extends java.lang.Object
- implements ResultGetter
Field Summary |
private int |
index
|
private java.lang.String |
name
|
private java.sql.ResultSet |
rs
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rs
private java.sql.ResultSet rs
name
private java.lang.String name
index
private int index
ResultGetterImpl
public ResultGetterImpl(java.sql.ResultSet resultSet,
int columnIndex)
ResultGetterImpl
public ResultGetterImpl(java.sql.ResultSet resultSet,
java.lang.String columnName)
getArray
public java.sql.Array getArray()
throws java.sql.SQLException
- Specified by:
getArray
in interface ResultGetter
- Throws:
java.sql.SQLException
getBigDecimal
public java.math.BigDecimal getBigDecimal()
throws java.sql.SQLException
- Specified by:
getBigDecimal
in interface ResultGetter
- Throws:
java.sql.SQLException
getBlob
public java.sql.Blob getBlob()
throws java.sql.SQLException
- Specified by:
getBlob
in interface ResultGetter
- Throws:
java.sql.SQLException
getBoolean
public boolean getBoolean()
throws java.sql.SQLException
- Specified by:
getBoolean
in interface ResultGetter
- Throws:
java.sql.SQLException
getByte
public byte getByte()
throws java.sql.SQLException
- Specified by:
getByte
in interface ResultGetter
- Throws:
java.sql.SQLException
getBytes
public byte[] getBytes()
throws java.sql.SQLException
- Specified by:
getBytes
in interface ResultGetter
- Throws:
java.sql.SQLException
getClob
public java.sql.Clob getClob()
throws java.sql.SQLException
- Specified by:
getClob
in interface ResultGetter
- Throws:
java.sql.SQLException
getDate
public java.sql.Date getDate()
throws java.sql.SQLException
- Specified by:
getDate
in interface ResultGetter
- Throws:
java.sql.SQLException
getDate
public java.sql.Date getDate(java.util.Calendar cal)
throws java.sql.SQLException
- Specified by:
getDate
in interface ResultGetter
- Throws:
java.sql.SQLException
getDouble
public double getDouble()
throws java.sql.SQLException
- Specified by:
getDouble
in interface ResultGetter
- Throws:
java.sql.SQLException
getFloat
public float getFloat()
throws java.sql.SQLException
- Specified by:
getFloat
in interface ResultGetter
- Throws:
java.sql.SQLException
getInt
public int getInt()
throws java.sql.SQLException
- Specified by:
getInt
in interface ResultGetter
- Throws:
java.sql.SQLException
getLong
public long getLong()
throws java.sql.SQLException
- Specified by:
getLong
in interface ResultGetter
- Throws:
java.sql.SQLException
getObject
public java.lang.Object getObject()
throws java.sql.SQLException
- Specified by:
getObject
in interface ResultGetter
- Throws:
java.sql.SQLException
getObject
public java.lang.Object getObject(java.util.Map map)
throws java.sql.SQLException
- Specified by:
getObject
in interface ResultGetter
- Throws:
java.sql.SQLException
getRef
public java.sql.Ref getRef()
throws java.sql.SQLException
- Specified by:
getRef
in interface ResultGetter
- Throws:
java.sql.SQLException
getShort
public short getShort()
throws java.sql.SQLException
- Specified by:
getShort
in interface ResultGetter
- Throws:
java.sql.SQLException
getString
public java.lang.String getString()
throws java.sql.SQLException
- Specified by:
getString
in interface ResultGetter
- Throws:
java.sql.SQLException
getTime
public java.sql.Time getTime()
throws java.sql.SQLException
- Specified by:
getTime
in interface ResultGetter
- Throws:
java.sql.SQLException
getTime
public java.sql.Time getTime(java.util.Calendar cal)
throws java.sql.SQLException
- Specified by:
getTime
in interface ResultGetter
- Throws:
java.sql.SQLException
getTimestamp
public java.sql.Timestamp getTimestamp()
throws java.sql.SQLException
- Specified by:
getTimestamp
in interface ResultGetter
- Throws:
java.sql.SQLException
getTimestamp
public java.sql.Timestamp getTimestamp(java.util.Calendar cal)
throws java.sql.SQLException
- Specified by:
getTimestamp
in interface ResultGetter
- Throws:
java.sql.SQLException
getURL
public java.net.URL getURL()
throws java.sql.SQLException
- Specified by:
getURL
in interface ResultGetter
- Throws:
java.sql.SQLException
wasNull
public boolean wasNull()
throws java.sql.SQLException
- Specified by:
wasNull
in interface ResultGetter
- Throws:
java.sql.SQLException