Package org.apache.ibatis.type
Interface TypeHandler<T>
- All Known Implementing Classes:
ArrayTypeHandler
,BaseTypeHandler
,BigDecimalTypeHandler
,BigIntegerTypeHandler
,BlobByteObjectArrayTypeHandler
,BlobInputStreamTypeHandler
,BlobTypeHandler
,BooleanTypeHandler
,ByteArrayTypeHandler
,ByteObjectArrayTypeHandler
,ByteTypeHandler
,CharacterTypeHandler
,ClobReaderTypeHandler
,ClobTypeHandler
,DateOnlyTypeHandler
,DateTypeHandler
,DoubleTypeHandler
,EnumOrdinalTypeHandler
,EnumTypeHandler
,FloatTypeHandler
,InstantTypeHandler
,IntegerTypeHandler
,JapaneseDateTypeHandler
,LocalDateTimeTypeHandler
,LocalDateTypeHandler
,LocalTimeTypeHandler
,LongTypeHandler
,MonthTypeHandler
,NClobTypeHandler
,NStringTypeHandler
,ObjectTypeHandler
,OffsetDateTimeTypeHandler
,OffsetTimeTypeHandler
,ShortTypeHandler
,SqlDateTypeHandler
,SqlTimestampTypeHandler
,SqlTimeTypeHandler
,SqlxmlTypeHandler
,StringTypeHandler
,TimeOnlyTypeHandler
,UnknownTypeHandler
,YearMonthTypeHandler
,YearTypeHandler
,ZonedDateTimeTypeHandler
public interface TypeHandler<T>
- Author:
- Clinton Begin
-
Method Summary
Modifier and TypeMethodDescriptiongetResult
(CallableStatement cs, int columnIndex) Gets the result.void
setParameter
(PreparedStatement ps, int i, T parameter, JdbcType jdbcType)
-
Method Details
-
setParameter
- Throws:
SQLException
-
getResult
Gets the result.- Parameters:
rs
- the rscolumnName
- Column name, when configurationuseColumnLabel
isfalse
- Returns:
- the result
- Throws:
SQLException
- the SQL exception
-
getResult
- Throws:
SQLException
-
getResult
- Throws:
SQLException
-