类 IncrementPlugin

    • 嵌套类概要

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

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

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      org.mybatis.generator.api.dom.xml.XmlElement generateIncrementSet​(org.mybatis.generator.api.IntrospectedColumn introspectedColumn, String prefix, boolean hasComma)
      生成增量操作节点
      List<org.mybatis.generator.api.dom.xml.XmlElement> generateIncrementSetForSelectiveEnhancedPlugin​(List<org.mybatis.generator.api.IntrospectedColumn> columns)
      生成增量操作节点(SelectiveEnhancedPlugin)
      org.mybatis.generator.api.dom.xml.XmlElement generateIncrementSetSelective​(org.mybatis.generator.api.IntrospectedColumn introspectedColumn, String prefix)
      生成增量操作节点
      void initialized​(org.mybatis.generator.api.IntrospectedTable introspectedTable)
      具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean modelBaseRecordClassGenerated​(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      Model Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean modelPrimaryKeyClassGenerated​(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean modelRecordWithBLOBsClassGenerated​(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      Model Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean sqlMapUpdateByExampleSelectiveElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean sqlMapUpdateByExampleWithBLOBsElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean sqlMapUpdateByExampleWithoutBLOBsElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean sqlMapUpdateByPrimaryKeySelectiveElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean supportIncrement​(org.mybatis.generator.api.IntrospectedColumn column)
      判断是否为需要进行增量操作的column
      boolean validate​(List<String> warnings)
      具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      • 从类继承的方法 org.mybatis.generator.api.PluginAdapter

        clientBasicCountMethodGenerated, clientBasicDeleteMethodGenerated, clientBasicInsertMethodGenerated, clientBasicInsertMultipleHelperMethodGenerated, clientBasicInsertMultipleMethodGenerated, clientBasicSelectManyMethodGenerated, clientBasicSelectOneMethodGenerated, clientBasicUpdateMethodGenerated, clientCountByExampleMethodGenerated, clientDeleteByExampleMethodGenerated, clientDeleteByPrimaryKeyMethodGenerated, clientGeneralCountMethodGenerated, clientGeneralDeleteMethodGenerated, clientGeneralSelectDistinctMethodGenerated, clientGeneralSelectMethodGenerated, clientGeneralUpdateMethodGenerated, clientGenerated, clientInsertMethodGenerated, clientInsertMultipleMethodGenerated, clientInsertSelectiveMethodGenerated, clientSelectAllMethodGenerated, clientSelectByExampleWithBLOBsMethodGenerated, clientSelectByExampleWithoutBLOBsMethodGenerated, clientSelectByPrimaryKeyMethodGenerated, clientSelectListFieldGenerated, clientSelectOneMethodGenerated, clientUpdateAllColumnsMethodGenerated, clientUpdateByExampleSelectiveMethodGenerated, clientUpdateByExampleWithBLOBsMethodGenerated, clientUpdateByExampleWithoutBLOBsMethodGenerated, clientUpdateByPrimaryKeySelectiveMethodGenerated, clientUpdateByPrimaryKeyWithBLOBsMethodGenerated, clientUpdateByPrimaryKeyWithoutBLOBsMethodGenerated, clientUpdateSelectiveColumnsMethodGenerated, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalJavaFiles, contextGenerateAdditionalXmlFiles, contextGenerateAdditionalXmlFiles, dynamicSqlSupportGenerated, getContext, getProperties, modelExampleClassGenerated, modelFieldGenerated, modelGetterMethodGenerated, modelSetterMethodGenerated, providerApplyWhereMethodGenerated, providerCountByExampleMethodGenerated, providerDeleteByExampleMethodGenerated, providerGenerated, providerInsertSelectiveMethodGenerated, providerSelectByExampleWithBLOBsMethodGenerated, providerSelectByExampleWithoutBLOBsMethodGenerated, providerUpdateByExampleSelectiveMethodGenerated, providerUpdateByExampleWithBLOBsMethodGenerated, providerUpdateByExampleWithoutBLOBsMethodGenerated, providerUpdateByPrimaryKeySelectiveMethodGenerated, setProperties, sqlMapBaseColumnListElementGenerated, sqlMapBlobColumnListElementGenerated, sqlMapCountByExampleElementGenerated, sqlMapDeleteByExampleElementGenerated, sqlMapDeleteByPrimaryKeyElementGenerated, sqlMapDocumentGenerated, sqlMapExampleWhereClauseElementGenerated, sqlMapGenerated, sqlMapInsertElementGenerated, sqlMapInsertSelectiveElementGenerated, sqlMapResultMapWithBLOBsElementGenerated, sqlMapResultMapWithoutBLOBsElementGenerated, sqlMapSelectAllElementGenerated, sqlMapSelectByExampleWithBLOBsElementGenerated, sqlMapSelectByExampleWithoutBLOBsElementGenerated, sqlMapSelectByPrimaryKeyElementGenerated
      • 从接口继承的方法 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
    • 字段详细资料

      • FIELD_INC_MAP

        public static final String FIELD_INC_MAP
        为了防止和用户数据库字段冲突,特殊命名
        另请参阅:
        常量字段值
      • METHOD_INCREMENT

        public static final String METHOD_INCREMENT
        自增方法名称
        另请参阅:
        常量字段值
      • FIELD_COLUMN_FOR_CLASS_INCREMENT

        public static final String FIELD_COLUMN_FOR_CLASS_INCREMENT
        另请参阅:
        常量字段值
      • FIELD_VALUE_FOR_CLASS_INCREMENT

        public static final String FIELD_VALUE_FOR_CLASS_INCREMENT
        另请参阅:
        常量字段值
      • FIELD_OPERATE_FOR_CLASS_INCREMENT

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

      • IncrementPlugin

        public IncrementPlugin()
    • 方法详细资料

      • validate

        public boolean validate​(List<String> warnings)
        具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
        指定者:
        validate 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        validate 在类中 BasePlugin
        参数:
        warnings -
        返回:
      • initialized

        public void initialized​(org.mybatis.generator.api.IntrospectedTable introspectedTable)
        具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
        指定者:
        initialized 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        initialized 在类中 BasePlugin
        参数:
        introspectedTable -
      • sqlMapUpdateByExampleSelectiveElementGenerated

        public boolean sqlMapUpdateByExampleSelectiveElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element,
                                                                      org.mybatis.generator.api.IntrospectedTable introspectedTable)
        具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
        指定者:
        sqlMapUpdateByExampleSelectiveElementGenerated 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        sqlMapUpdateByExampleSelectiveElementGenerated 在类中 org.mybatis.generator.api.PluginAdapter
        参数:
        element -
        introspectedTable -
        返回:
      • sqlMapUpdateByExampleWithBLOBsElementGenerated

        public boolean sqlMapUpdateByExampleWithBLOBsElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element,
                                                                      org.mybatis.generator.api.IntrospectedTable introspectedTable)
        具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
        指定者:
        sqlMapUpdateByExampleWithBLOBsElementGenerated 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        sqlMapUpdateByExampleWithBLOBsElementGenerated 在类中 org.mybatis.generator.api.PluginAdapter
        参数:
        element -
        introspectedTable -
        返回:
      • sqlMapUpdateByExampleWithoutBLOBsElementGenerated

        public boolean sqlMapUpdateByExampleWithoutBLOBsElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element,
                                                                         org.mybatis.generator.api.IntrospectedTable introspectedTable)
        具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
        指定者:
        sqlMapUpdateByExampleWithoutBLOBsElementGenerated 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        sqlMapUpdateByExampleWithoutBLOBsElementGenerated 在类中 org.mybatis.generator.api.PluginAdapter
        参数:
        element -
        introspectedTable -
        返回:
      • sqlMapUpdateByPrimaryKeySelectiveElementGenerated

        public boolean sqlMapUpdateByPrimaryKeySelectiveElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element,
                                                                         org.mybatis.generator.api.IntrospectedTable introspectedTable)
        具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
        指定者:
        sqlMapUpdateByPrimaryKeySelectiveElementGenerated 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        sqlMapUpdateByPrimaryKeySelectiveElementGenerated 在类中 org.mybatis.generator.api.PluginAdapter
        参数:
        element -
        introspectedTable -
        返回:
      • sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated

        public boolean sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element,
                                                                         org.mybatis.generator.api.IntrospectedTable introspectedTable)
        具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
        指定者:
        sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated 在类中 org.mybatis.generator.api.PluginAdapter
        参数:
        element -
        introspectedTable -
        返回:
      • sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated

        public boolean sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element,
                                                                            org.mybatis.generator.api.IntrospectedTable introspectedTable)
        具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
        指定者:
        sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated 在类中 org.mybatis.generator.api.PluginAdapter
        参数:
        element -
        introspectedTable -
        返回:
      • modelBaseRecordClassGenerated

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

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

        public boolean modelPrimaryKeyClassGenerated​(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass,
                                                     org.mybatis.generator.api.IntrospectedTable introspectedTable)
        具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
        指定者:
        modelPrimaryKeyClassGenerated 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        modelPrimaryKeyClassGenerated 在类中 org.mybatis.generator.api.PluginAdapter
        参数:
        topLevelClass -
        introspectedTable -
        返回:
      • generateIncrementSet

        public org.mybatis.generator.api.dom.xml.XmlElement generateIncrementSet​(org.mybatis.generator.api.IntrospectedColumn introspectedColumn,
                                                                                 String prefix,
                                                                                 boolean hasComma)
        从接口复制的说明: IIncrementPluginHook
        生成增量操作节点
        指定者:
        generateIncrementSet 在接口中 IIncrementPluginHook
        返回:
      • generateIncrementSetForSelectiveEnhancedPlugin

        public List<org.mybatis.generator.api.dom.xml.XmlElement> generateIncrementSetForSelectiveEnhancedPlugin​(List<org.mybatis.generator.api.IntrospectedColumn> columns)
        生成增量操作节点(SelectiveEnhancedPlugin)
        指定者:
        generateIncrementSetForSelectiveEnhancedPlugin 在接口中 IIncrementPluginHook
        参数:
        columns -
        返回:
      • supportIncrement

        public boolean supportIncrement​(org.mybatis.generator.api.IntrospectedColumn column)
        判断是否为需要进行增量操作的column
        指定者:
        supportIncrement 在接口中 IIncrementPluginHook
        参数:
        column -
        返回: