类 BooleanTypeHandler
java.lang.Object
org.apache.ibatis.type.TypeReference<T>
org.apache.ibatis.type.BaseTypeHandler<Boolean>
org.elsfs.tool.sql.mybatisplus.type.BooleanTypeHandler
- 所有已实现的接口:
org.apache.ibatis.type.TypeHandler<Boolean>
布尔值处理器
- 从以下版本开始:
- 0.0.4
- 作者:
- zeng
-
字段概要
从类继承的字段 org.apache.ibatis.type.BaseTypeHandler
configuration -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getNullableResult(CallableStatement cs, int columnIndex) 获取可空结果getNullableResult(ResultSet rs, int columnIndex) 获取可空结果getNullableResult(ResultSet rs, String columnName) Gets the nullable result.voidsetNonNullParameter(PreparedStatement ps, int i, Boolean parameter, org.apache.ibatis.type.JdbcType jdbcType) 设置参数从类继承的方法 org.apache.ibatis.type.BaseTypeHandler
getResult, getResult, getResult, setConfiguration, setParameter从类继承的方法 org.apache.ibatis.type.TypeReference
getRawType, toString
-
构造器详细资料
-
BooleanTypeHandler
public BooleanTypeHandler()
-
-
方法详细资料
-
setNonNullParameter
public void setNonNullParameter(PreparedStatement ps, int i, Boolean parameter, org.apache.ibatis.type.JdbcType jdbcType) throws SQLException 设置参数- 指定者:
setNonNullParameter在类中org.apache.ibatis.type.BaseTypeHandler<Boolean>- 参数:
ps- 预处理语句i- 参数下标parameter- 参数值jdbcType- 类型- 抛出:
SQLException- 异常
-
getNullableResult
Gets the nullable result.- 指定者:
getNullableResult在类中org.apache.ibatis.type.BaseTypeHandler<Boolean>- 参数:
rs- the rscolumnName- Column name, when configurationuseColumnLabelisfalse- 返回:
- the nullable result
- 抛出:
SQLException- the SQL exception
-
getNullableResult
获取可空结果- 指定者:
getNullableResult在类中org.apache.ibatis.type.BaseTypeHandler<Boolean>- 参数:
rs- 结果集columnIndex- 列下标- 返回:
- 结果
- 抛出:
SQLException- 异常
-
getNullableResult
获取可空结果- 指定者:
getNullableResult在类中org.apache.ibatis.type.BaseTypeHandler<Boolean>- 参数:
cs- 调用过程columnIndex- 列下标- 返回:
- 结果
- 抛出:
SQLException- 异常
-