类 MybatisSqlBeanMapperInterceptor

java.lang.Object
cn.vonce.sql.mapper.BaseMapper<ResultSet>
cn.vonce.sql.mapper.SqlBeanMapper
cn.vonce.sql.java.mapper.MybatisSqlBeanMapperInterceptor
所有已实现的接口:
org.apache.ibatis.plugin.Interceptor

@Intercepts(@Signature(method="handleResultSets",type=org.apache.ibatis.executor.resultset.ResultSetHandler.class,args=java.sql.Statement.class)) public class MybatisSqlBeanMapperInterceptor extends cn.vonce.sql.mapper.SqlBeanMapper implements org.apache.ibatis.plugin.Interceptor
Mybatis 结果映射拦截器
版本:
1.0
作者:
Jovi
  • 构造器详细资料

    • MybatisSqlBeanMapperInterceptor

      public MybatisSqlBeanMapperInterceptor()
  • 方法详细资料

    • intercept

      public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
      指定者:
      intercept 在接口中 org.apache.ibatis.plugin.Interceptor
      抛出:
      Throwable
    • plugin

      public Object plugin(Object target)
      指定者:
      plugin 在接口中 org.apache.ibatis.plugin.Interceptor
    • setProperties

      public void setProperties(Properties properties)
      指定者:
      setProperties 在接口中 org.apache.ibatis.plugin.Interceptor
    • beanHandleResultSet

      public List<Object> beanHandleResultSet(Class<?> clazz, cn.vonce.sql.mapper.ResultSetDelegate<ResultSet> resultSetDelegate, List<String> columnNameList)
      bean对象映射处理
      覆盖:
      beanHandleResultSet 在类中 cn.vonce.sql.mapper.BaseMapper<ResultSet>
      参数:
      resultSetDelegate -
      clazz -
      返回:
    • mapHandleResultSet

      public List<Object> mapHandleResultSet(cn.vonce.sql.mapper.ResultSetDelegate<ResultSet> resultSetDelegate)
      map对象映射
      覆盖:
      mapHandleResultSet 在类中 cn.vonce.sql.mapper.SqlBeanMapper
      参数:
      resultSetDelegate -
      返回:
    • baseHandleResultSet

      public List<Object> baseHandleResultSet(cn.vonce.sql.mapper.ResultSetDelegate<ResultSet> resultSetDelegate, Class<?> returnType)
      基础对象映射
      参数:
      resultSetDelegate -
      返回: