Class DynamicSqlMapperGenerator
java.lang.Object
org.mybatis.generator.codegen.AbstractGenerator
org.mybatis.generator.codegen.AbstractJavaGenerator
org.mybatis.generator.codegen.AbstractJavaClientGenerator
org.mybatis.generator.runtime.dynamic.sql.DynamicSqlMapperGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FragmentGeneratorprotected booleanprotected FullyQualifiedJavaTypeprotected Stringprotected StringFields inherited from class org.mybatis.generator.codegen.AbstractGenerator
context, introspectedTable, progressCallback, warnings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddBasicInsertMethod(Interface interfaze) protected voidaddBasicInsertMultipleMethod(Interface interfaze) protected booleanaddBasicSelectManyMethod(Interface interfaze) protected voidaddBasicSelectOneMethod(Interface interfaze, boolean reuseResultMap) protected voidaddCommonInsertInterface(Interface interfaze) protected voidaddDeleteByPrimaryKeyMethod(Interface interfaze) protected voidaddGeneralCountMethod(Interface interfaze) protected voidaddGeneralDeleteMethod(Interface interfaze) protected voidaddGeneralSelectMethod(Interface interfaze) protected voidaddGeneralSelectOneMethod(Interface interfaze) protected voidaddGeneralUpdateMethod(Interface interfaze) protected voidaddInsertMultipleMethod(Interface interfaze) protected voidaddInsertOneMethod(Interface interfaze) protected voidaddInsertSelectiveMethod(Interface interfaze) protected voidaddSelectByPrimaryKeyMethod(Interface interfaze) protected voidaddSelectDistinctMethod(Interface interfaze) protected voidaddSelectListField(Interface interfaze) protected voidaddUpdateAllMethod(Interface interfaze) protected voidaddUpdateByPrimaryKeyMethod(Interface interfaze) protected voidaddUpdateByPrimaryKeySelectiveMethod(Interface interfaze) protected voidaddUpdateSelectiveMethod(Interface interfaze) protected Interfaceprotected booleangenerate(Interface interfaze, AbstractMethodGenerator generator) Returns an instance of the XML generator associated with this client generator.protected TopLevelClassprotected voidMethods inherited from class org.mybatis.generator.codegen.AbstractJavaClientGenerator
requiresXMLGeneratorMethods inherited from class org.mybatis.generator.codegen.AbstractJavaGenerator
addDefaultConstructor, addDefaultConstructorWithGeneratedAnnotatoin, getGetter, getProject, getRootClassMethods inherited from class org.mybatis.generator.codegen.AbstractGenerator
setContext, setIntrospectedTable, setProgressCallback, setWarnings
-
Field Details
-
recordType
-
resultMapId
-
tableFieldName
-
fragmentGenerator
-
hasGeneratedKeys
protected boolean hasGeneratedKeys
-
-
Constructor Details
-
DynamicSqlMapperGenerator
-
-
Method Details
-
getCompilationUnits
- Specified by:
getCompilationUnitsin classAbstractJavaGenerator
-
preCalculate
protected void preCalculate() -
createBasicInterface
-
getSupportClass
-
addInsertOneMethod
-
addCommonInsertInterface
-
addBasicInsertMultipleMethod
-
addInsertMultipleMethod
-
addGeneralCountMethod
-
addGeneralDeleteMethod
-
addSelectListField
-
addGeneralSelectMethod
-
addSelectDistinctMethod
-
addGeneralSelectOneMethod
-
addGeneralUpdateMethod
-
addUpdateAllMethod
-
addUpdateSelectiveMethod
-
addBasicSelectOneMethod
-
addDeleteByPrimaryKeyMethod
-
addInsertSelectiveMethod
-
addSelectByPrimaryKeyMethod
-
addUpdateByPrimaryKeyMethod
-
addUpdateByPrimaryKeySelectiveMethod
-
addBasicInsertMethod
-
addBasicSelectManyMethod
-
generate
-
getMatchedXMLGenerator
Description copied from class:AbstractJavaClientGeneratorReturns an instance of the XML generator associated with this client generator.- Specified by:
getMatchedXMLGeneratorin classAbstractJavaClientGenerator- Returns:
- the matched XML generator. May return null if no XML is required by this generator
-