类 MybatisMethod

java.lang.Object
com.baomidou.mybatisplus.core.injector.AbstractMethod
cn.com.pism.mybatis.core.method.MybatisMethod
所有已实现的接口:
com.baomidou.mybatisplus.core.toolkit.Constants, com.baomidou.mybatisplus.core.toolkit.StringPool, Serializable
直接已知子类:
BatchUpdate, BatchUpdateSelective, InsertOrUpdateId, UpdateSelectiveByPrimaryKey

public abstract class MybatisMethod extends com.baomidou.mybatisplus.core.injector.AbstractMethod
从以下版本开始:
24-08-22 21:14
作者:
perccyking
另请参阅:
  • 字段概要

    从类继承的字段 com.baomidou.mybatisplus.core.injector.AbstractMethod

    builderAssistant, configuration, languageDriver, logger, methodName

    从接口继承的字段 com.baomidou.mybatisplus.core.toolkit.Constants

    AES, AES_CBC_CIPHER, ARRAY, AS, ASC, COLL, COLLECTION, COLUMN_MAP, COLUMN_MAP_IS_EMPTY, DEFAULT_BATCH_SIZE, DESC, ENTITY, ENTITY_DOT, LIMIT, LIST, MD5, MP_OPTLOCK_VERSION_ORIGINAL, MYBATIS_PLUS, ORDER_BY, Q_WRAPPER_SQL_COMMENT, Q_WRAPPER_SQL_FIRST, Q_WRAPPER_SQL_SELECT, U_WRAPPER_SQL_SET, WHERE, WRAPPER, WRAPPER_DOT, WRAPPER_EMPTYOFNORMAL, WRAPPER_EMPTYOFWHERE, WRAPPER_ENTITY, WRAPPER_ENTITY_DOT, WRAPPER_EXPRESSION_ORDER, WRAPPER_NONEMPTYOFENTITY, WRAPPER_NONEMPTYOFNORMAL, WRAPPER_NONEMPTYOFWHERE, WRAPPER_PARAM, WRAPPER_PARAM_MIDDLE, WRAPPER_SQLSEGMENT

    从接口继承的字段 com.baomidou.mybatisplus.core.toolkit.StringPool

    AMPERSAND, AND, ASTERISK, AT, BACK_SLASH, BACKTICK, BYTES_NEW_LINE, COLON, COMMA, CRLF, DASH, DOLLAR, DOLLAR_LEFT_BRACE, DOT, DOT_CLASS, DOT_JAVA, DOT_NEWLINE, DOT_XML, DOTDOT, EMPTY, EMPTY_ARRAY, EQUALS, EXCLAMATION_MARK, FALSE, HASH, HASH_LEFT_BRACE, HAT, HTML_AMP, HTML_GT, HTML_LT, HTML_NBSP, HTML_QUOTE, ISO_8859_1, LEFT_BRACE, LEFT_BRACKET, LEFT_CHEV, LEFT_SQ_BRACKET, N, NEWLINE, NO, NULL, NUM, OFF, ON, ONE, PERCENT, PIPE, PLUS, QUESTION_MARK, QUOTE, RETURN, RIGHT_BRACE, RIGHT_BRACKET, RIGHT_CHEV, RIGHT_SQ_BRACKET, SEMICOLON, SINGLE_QUOTE, SLASH, SPACE, SQL, STAR, TAB, TILDA, TRUE, UNDERSCORE, US_ASCII, UTF_8, Y, YES, ZERO
  • 构造器概要

    构造器
    限定符
    构造器
    说明
    protected
    MybatisMethod(String methodName)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected abstract org.apache.ibatis.mapping.MappedStatement
    addMappedStatement(org.apache.ibatis.mapping.SqlSource sqlSource)
    添加mapper声明
    org.apache.ibatis.mapping.MappedStatement
    injectMappedStatement(Class<?> mapperClass, Class<?> modelClass, com.baomidou.mybatisplus.core.metadata.TableInfo tableInfo)
     
    protected com.baomidou.mybatisplus.core.metadata.TableInfo
    tableInfoPreProcess(com.baomidou.mybatisplus.core.metadata.TableInfo tableInfo)
    tableInfo 前置处理,可以添加一些附加信息辅助sql脚本生成

    从类继承的方法 com.baomidou.mybatisplus.core.injector.AbstractMethod

    addDeleteMappedStatement, addDeleteMappedStatement, addInsertMappedStatement, addInsertMappedStatement, addMappedStatement, addMappedStatement, addSelectMappedStatementForOther, addSelectMappedStatementForOther, addSelectMappedStatementForTable, addSelectMappedStatementForTable, addUpdateMappedStatement, addUpdateMappedStatement, convertChooseEwSelect, convertIfEwParam, createSqlSource, filterTableFieldInfo, inject, optlockVersion, sqlComment, sqlCount, sqlFirst, sqlLogicSet, sqlOrderBy, sqlSelectColumns, sqlSelectObjsColumns, sqlSet, sqlWhereByMap, sqlWhereEntityWrapper

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • MybatisMethod

      protected MybatisMethod(String methodName)
      参数:
      methodName - 方法名
      从以下版本开始:
      3.5.0
  • 方法详细资料

    • injectMappedStatement

      public org.apache.ibatis.mapping.MappedStatement injectMappedStatement(Class<?> mapperClass, Class<?> modelClass, com.baomidou.mybatisplus.core.metadata.TableInfo tableInfo)
      指定者:
      injectMappedStatement 在类中 com.baomidou.mybatisplus.core.injector.AbstractMethod
    • tableInfoPreProcess

      protected com.baomidou.mybatisplus.core.metadata.TableInfo tableInfoPreProcess(com.baomidou.mybatisplus.core.metadata.TableInfo tableInfo)

      tableInfo 前置处理,可以添加一些附加信息辅助sql脚本生成

      by perccyking
      参数:
      tableInfo - : mybatis 表的定义信息
      返回:
      TableInfo
      从以下版本开始:
      24-08-23 16:40
    • addMappedStatement

      protected abstract org.apache.ibatis.mapping.MappedStatement addMappedStatement(org.apache.ibatis.mapping.SqlSource sqlSource)

      添加mapper声明

      by perccyking
      参数:
      sqlSource - : sqlSource
      返回:
      MappedStatement
      从以下版本开始:
      24-08-23 16:36