类 LimitPlugin
- java.lang.Object
-
- org.mybatis.generator.api.PluginAdapter
-
- pro.leaco.mybatis.generator.plugins.utils.BasePlugin
-
- pro.leaco.mybatis.generator.plugins.LimitPlugin
-
- 所有已实现的接口:
org.mybatis.generator.api.Plugin,ISelectSelectivePluginHook
public class LimitPlugin extends BasePlugin implements ISelectSelectivePluginHook
--------------------------------------------------------------------------- 增加分页方法 --------------------------------------------------------------------------- ---------------------------------------------------------------------------
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringPRO_START_PAGE分页开始页码-
从类继承的字段 pro.leaco.mybatis.generator.plugins.utils.BasePlugin
commentGenerator, logger, mybatisVersion, PRO_MYBATIS_VERSION, warnings
-
-
构造器概要
构造器 构造器 说明 LimitPlugin()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidinitialized(org.mybatis.generator.api.IntrospectedTable introspectedTable)具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleanmodelExampleClassGenerated(org.mybatis.generator.api.dom.java.TopLevelClass topLevelClass, org.mybatis.generator.api.IntrospectedTable introspectedTable)ModelExample Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleansqlMapSelectByExampleSelectiveElementGenerated(org.mybatis.generator.api.dom.xml.Document document, org.mybatis.generator.api.dom.xml.XmlElement element, org.mybatis.generator.api.IntrospectedTable introspectedTable)booleansqlMapSelectByExampleWithBLOBsElementGenerated(org.mybatis.generator.api.dom.xml.XmlElement element, org.mybatis.generator.api.IntrospectedTable introspectedTable)SQL Map Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleansqlMapSelectByExampleWithoutBLOBsElementGenerated(org.mybatis.generator.api.dom.xml.XmlElement element, org.mybatis.generator.api.IntrospectedTable introspectedTable)SQL Map Methods 生成 具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.htmlbooleanvalidate(List<String> warnings)-
从类继承的方法 pro.leaco.mybatis.generator.plugins.utils.BasePlugin
setContext
-
从类继承的方法 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
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 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
-
-
-
-
方法详细资料
-
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)
-
-