| com.ibatis.sqlmap.engine.type.TypeHandler
All known Subclasses: com.ibatis.sqlmap.engine.type.CustomTypeHandler, com.ibatis.sqlmap.engine.type.ShortTypeHandler, com.ibatis.sqlmap.engine.type.BigDecimalTypeHandler, com.ibatis.sqlmap.engine.type.ByteArrayTypeHandler, com.ibatis.sqlmap.engine.type.StringTypeHandler, com.ibatis.sqlmap.engine.type.ObjectTypeHandler, com.ibatis.sqlmap.engine.type.UnknownTypeHandler, com.ibatis.sqlmap.engine.type.DateOnlyTypeHandler, com.ibatis.sqlmap.engine.type.DateTypeHandler, com.ibatis.sqlmap.engine.type.IntegerTypeHandler, com.ibatis.sqlmap.engine.type.SqlDateTypeHandler, com.ibatis.sqlmap.engine.type.LongTypeHandler, com.ibatis.sqlmap.engine.type.BooleanTypeHandler, com.ibatis.sqlmap.engine.type.DoubleTypeHandler, com.ibatis.sqlmap.engine.type.SqlTimeTypeHandler, com.ibatis.sqlmap.engine.type.TimeOnlyTypeHandler, com.ibatis.sqlmap.engine.type.ByteTypeHandler, com.ibatis.sqlmap.engine.type.FloatTypeHandler, com.ibatis.sqlmap.engine.type.SqlTimestampTypeHandler, com.ibatis.sqlmap.engine.type.BaseTypeHandler,
TypeHandler | public interface TypeHandler (Code) | | Interface for getting data into, and out of a mapped statement
|
equals | public boolean equals(Object object, String string)(Code) | | Compares two values (that this handler deals with) for equality
Parameters: object - - one of the objects Parameters: string - - the other object as a String - true if they are equal |
getResult | public Object getResult(ResultSet rs, String columnName) throws SQLException(Code) | | Gets a column from a result set
Parameters: rs - - the result set Parameters: columnName - - the column name to get - the column value throws: SQLException - if getting the value fails |
getResult | public Object getResult(ResultSet rs, int columnIndex) throws SQLException(Code) | | Gets a column from a result set
Parameters: rs - - the result set Parameters: columnIndex - - the column to get (by index) - the column value throws: SQLException - if getting the value fails |
getResult | public Object getResult(CallableStatement cs, int columnIndex) throws SQLException(Code) | | Gets a column from a callable statement
Parameters: cs - - the statement Parameters: columnIndex - - the column to get (by index) - the column value throws: SQLException - if getting the value fails |
setParameter | public void setParameter(PreparedStatement ps, int i, Object parameter, String jdbcType) throws SQLException(Code) | | Sets a parameter on a prepared statement
Parameters: ps - - the prepared statement Parameters: i - - the parameter index Parameters: parameter - - the parameter value Parameters: jdbcType - - the JDBC type of the parameter throws: SQLException - if setting the parameter fails |
valueOf | public Object valueOf(String s)(Code) | | Converts the String to the type that this handler deals with
Parameters: s - - the String value - the converted value |
|
|