类 AbstractInjectMethod

java.lang.Object
top.zephyrs.mybatis.semi.injects.AbstractInjectMethod
所有已实现的接口:
InjectMethod
直接已知子类:
DeleteById, Disable, Enable, Insert, SelectAll, SelectById, SelectByQuery, ToggleEnable, UpdateById

public abstract class AbstractInjectMethod extends Object implements InjectMethod
通用方法
  • 字段详细资料

  • 构造器详细资料

    • AbstractInjectMethod

      public AbstractInjectMethod()
  • 方法详细资料

    • databaseId

      public String databaseId()
      指定者:
      databaseId 在接口中 InjectMethod
    • isDirtySelect

      public boolean isDirtySelect()
      指定者:
      isDirtySelect 在接口中 InjectMethod
    • addMappedStatement

      public org.apache.ibatis.mapping.MappedStatement addMappedStatement(MetaInfo metaInfo, org.apache.ibatis.builder.MapperBuilderAssistant assistant, String id, org.apache.ibatis.mapping.SqlSource sqlSource, org.apache.ibatis.mapping.StatementType statementType, org.apache.ibatis.mapping.SqlCommandType sqlCommandType, Integer fetchSize, Integer timeout, String parameterMap, Class<?> parameterType, String resultMap, Class<?> resultType, org.apache.ibatis.mapping.ResultSetType resultSetType, boolean flushCache, boolean useCache, boolean resultOrdered, org.apache.ibatis.executor.keygen.KeyGenerator keyGenerator, String keyProperty, String keyColumn, String databaseId, org.apache.ibatis.scripting.LanguageDriver lang, String resultSets, boolean dirtySelect)
      指定者:
      addMappedStatement 在接口中 InjectMethod
    • createSqlSource

      public org.apache.ibatis.mapping.SqlSource createSqlSource(SemiMybatisConfiguration configuration, MetaInfo metaInfo, Method method, Class<?> parameterTypeClass, org.apache.ibatis.scripting.LanguageDriver languageDriver)
      指定者:
      createSqlSource 在接口中 InjectMethod
    • buildSqlScript

      protected abstract String buildSqlScript(SemiMybatisConfiguration configuration, MetaInfo metaInfo)
      构建sql语句
      参数:
      configuration - mybatis配置信息 // * @param beanClass Mapper的泛型的具体类型 // * @param parameterTypeClass 参数类型
      metaInfo - 对应的 表信息,包含列,字段,表名等等
      返回:
      sql语句