类 BatchInsertPlugin

  • 所有已实现的接口:
    org.mybatis.generator.api.Plugin

    public class BatchInsertPlugin
    extends BasePlugin
    --------------------------------------------------------------------------- 批量插入插件 --------------------------------------------------------------------------- ---------------------------------------------------------------------------
    • 嵌套类概要

      • 从接口继承的嵌套类/接口 org.mybatis.generator.api.Plugin

        org.mybatis.generator.api.Plugin.ModelClassType
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      boolean clientGenerated​(org.mybatis.generator.api.dom.java.Interface interfaze, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      Java Client Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean sqlMapDocumentGenerated​(org.mybatis.generator.api.dom.xml.Document document, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      SQL Map Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean validate​(List<String> warnings)
      • 从类继承的方法 org.mybatis.generator.api.PluginAdapter

        clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientCountByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientInsertMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectAllMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectListFieldGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalXmlFiles, contextGenerateAdditionalXmlFiles, dynamicSqlSupportGenerated, getContext, getProperties, modelBaseRecordClassGenerated, modelExampleClassGenerated, modelFieldGenerated, modelGetterMethodGenerated, modelPrimaryKeyClassGenerated, modelRecordWithBLOBsClassGenerated, modelSetterMethodGenerated, providerApplyWhereMethodGenerated, providerCountByExampleMethodGenerated, providerDeleteByExampleMethodGenerated, providerGenerated, providerInsertSelectiveMethodGenerated, providerSelectByExampleWithBLOBsMethodGenerated, providerSelectByExampleWithoutBLOBsMethodGenerated, providerUpdateByExampleSelectiveMethodGenerated, providerUpdateByExampleWithBLOBsMethodGenerated, providerUpdateByExampleWithoutBLOBsMethodGenerated, providerUpdateByPrimaryKeySelectiveMethodGenerated, setProperties, sqlMapBaseColumnListElementGenerated, sqlMapBlobColumnListElementGenerated, sqlMapCountByExampleElementGenerated, sqlMapDeleteByExampleElementGenerated, sqlMapDeleteByPrimaryKeyElementGenerated, sqlMapExampleWhereClauseElementGenerated, sqlMapGenerated, sqlMapInsertElementGenerated, sqlMapInsertSelectiveElementGenerated, sqlMapResultMapWithBLOBsElementGenerated, sqlMapResultMapWithoutBLOBsElementGenerated, sqlMapSelectAllElementGenerated, sqlMapSelectByExampleWithBLOBsElementGenerated, sqlMapSelectByExampleWithoutBLOBsElementGenerated, sqlMapSelectByPrimaryKeyElementGenerated, sqlMapUpdateByExampleSelectiveElementGenerated, sqlMapUpdateByExampleWithBLOBsElementGenerated, sqlMapUpdateByExampleWithoutBLOBsElementGenerated, sqlMapUpdateByPrimaryKeySelectiveElementGenerated, sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated, sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated
      • 从接口继承的方法 org.mybatis.generator.api.Plugin

        clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientColumnListPropertyGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientInsertMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertMultipleVarargMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByPrimaryKeyMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalKotlinFiles, contextGenerateAdditionalKotlinFiles, dynamicSqlSupportGenerated, kotlinDataClassGenerated, mapperExtensionsGenerated, mapperGenerated
    • 字段详细资料

      • METHOD_BATCH_INSERT_SELECTIVE

        public static final String METHOD_BATCH_INSERT_SELECTIVE
        另请参阅:
        常量字段值
      • PRO_ALLOW_MULTI_QUERIES

        public static final String PRO_ALLOW_MULTI_QUERIES
        另请参阅:
        常量字段值
    • 构造器详细资料

      • BatchInsertPlugin

        public BatchInsertPlugin()
    • 方法详细资料

      • validate

        public boolean validate​(List<String> warnings)
        指定者:
        validate 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        validate 在类中 BasePlugin
      • clientGenerated

        public boolean clientGenerated​(org.mybatis.generator.api.dom.java.Interface interfaze,
                                       org.mybatis.generator.api.IntrospectedTable introspectedTable)
        Java Client Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
        指定者:
        clientGenerated 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        clientGenerated 在类中 org.mybatis.generator.api.PluginAdapter
        参数:
        interfaze -
        introspectedTable -
        返回:
      • sqlMapDocumentGenerated

        public boolean sqlMapDocumentGenerated​(org.mybatis.generator.api.dom.xml.Document document,
                                               org.mybatis.generator.api.IntrospectedTable introspectedTable)
        SQL Map Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
        指定者:
        sqlMapDocumentGenerated 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        sqlMapDocumentGenerated 在类中 org.mybatis.generator.api.PluginAdapter
        参数:
        document -
        introspectedTable -
        返回: