类 LimitPlugin

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

    public class LimitPlugin
    extends BasePlugin
    implements ISelectSelectivePluginHook
    --------------------------------------------------------------------------- 增加分页方法 --------------------------------------------------------------------------- ---------------------------------------------------------------------------
    • 嵌套类概要

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

        org.mybatis.generator.api.Plugin.ModelClassType
    • 构造器概要

      构造器 
      构造器 说明
      LimitPlugin()  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void initialized​(org.mybatis.generator.api.IntrospectedTable introspectedTable)
      具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean modelExampleClassGenerated​(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      ModelExample Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean sqlMapSelectByExampleSelectiveElementGenerated​(org.mybatis.generator.api.dom.xml.Document document, org.mybatis.generator.api.dom.xml.XmlElement element, org.mybatis.generator.api.IntrospectedTable introspectedTable)  
      boolean sqlMapSelectByExampleWithBLOBsElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element, org.mybatis.generator.api.IntrospectedTable introspectedTable)
      SQL Map Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
      boolean sqlMapSelectByExampleWithoutBLOBsElementGenerated​(org.mybatis.generator.api.dom.xml.XmlElement element, 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, 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, modelBaseRecordClassGenerated, modelFieldGenerated, modelGetterMethodGenerated, modelPrimaryKeyClassGenerated, modelRecordWithBLOBsClassGenerated, 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, 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
    • 字段详细资料

      • PRO_START_PAGE

        public static final String PRO_START_PAGE
        分页开始页码
        另请参阅:
        常量字段值
    • 构造器详细资料

      • LimitPlugin

        public LimitPlugin()
    • 方法详细资料

      • validate

        public boolean validate​(List<String> warnings)
        指定者:
        validate 在接口中 org.mybatis.generator.api.Plugin
        覆盖:
        validate 在类中 BasePlugin
      • 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 -
      • modelExampleClassGenerated

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

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

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

        public boolean sqlMapSelectByExampleSelectiveElementGenerated​(org.mybatis.generator.api.dom.xml.Document document,
                                                                      org.mybatis.generator.api.dom.xml.XmlElement element,
                                                                      org.mybatis.generator.api.IntrospectedTable introspectedTable)
        指定者:
        sqlMapSelectByExampleSelectiveElementGenerated 在接口中 ISelectSelectivePluginHook