Class DynamicSqlSupportClassGenerator
java.lang.Object
org.mybatis.generator.runtime.dynamic.sql.DynamicSqlSupportClassGenerator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate TopLevelClassprivate InnerClassbuildInnerTableClass(TopLevelClass topLevelClass) private FullyQualifiedJavaTypecalculateFieldType(FullyQualifiedJavaType javaType) private StringcalculateInnerInitializationString(IntrospectedColumn column, FullyQualifiedJavaType javaType) private FieldcalculateTableDefinition(TopLevelClass topLevelClass) generate()private voidhandleColumn(TopLevelClass topLevelClass, InnerClass innerClass, IntrospectedColumn column, String tableFieldName) of(IntrospectedTable introspectedTable, CommentGenerator commentGenerator, List<String> warnings)
-
Field Details
-
introspectedTable
-
commentGenerator
-
warnings
-
-
Constructor Details
-
DynamicSqlSupportClassGenerator
private DynamicSqlSupportClassGenerator()
-
-
Method Details
-
generate
-
buildBasicClass
-
buildInnerTableClass
-
calculateTableDefinition
-
handleColumn
private void handleColumn(TopLevelClass topLevelClass, InnerClass innerClass, IntrospectedColumn column, String tableFieldName) -
calculateFieldType
-
calculateInnerInitializationString
private String calculateInnerInitializationString(IntrospectedColumn column, FullyQualifiedJavaType javaType) -
of
public static DynamicSqlSupportClassGenerator of(IntrospectedTable introspectedTable, CommentGenerator commentGenerator, List<String> warnings)
-