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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetResult(java.sql.CallableStatement cs, int columnIndex)TgetResult(java.sql.ResultSet rs, int columnIndex)TgetResult(java.sql.ResultSet rs, java.lang.String columnName)voidsetParameter(java.sql.PreparedStatement ps, int i, T parameter, JdbcType jdbcType)
-
-
-
Method Detail
-
setParameter
void setParameter(java.sql.PreparedStatement ps, int i, T parameter, JdbcType jdbcType) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getResult
T getResult(java.sql.ResultSet rs, java.lang.String columnName) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getResult
T getResult(java.sql.ResultSet rs, int columnIndex) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getResult
T getResult(java.sql.CallableStatement cs, int columnIndex) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-