| 限定符和类型 | 字段和说明 |
|---|---|
protected IntrospectedTable |
introspectedTable
The introspected table.
|
protected boolean |
isModelOnly
The is model only.
|
protected TableConfiguration |
tableConfiguration
The table configuration.
|
| 构造器和说明 |
|---|
BaseRules(IntrospectedTable introspectedTable)
Instantiates a new base rules.
|
| 限定符和类型 | 方法和说明 |
|---|---|
FullyQualifiedJavaType |
calculateAllFieldsClass()
Calculates the class that contains all fields.
|
boolean |
generateBaseColumnList()
Implements the rule for generating the SQL base column list element.
|
boolean |
generateBaseResultMap()
Implements the rule for generating the result map without BLOBs.
|
boolean |
generateBlobColumnList()
Implements the rule for generating the SQL blob column list element.
|
boolean |
generateCountByExample() |
boolean |
generateDeleteByExample()
Implements the rule for generating the delete by example SQL Map element
and DAO method.
|
boolean |
generateDeleteByPrimaryKey()
Implements the rule for generating the delete by primary key SQL Map
element and DAO method.
|
boolean |
generateExampleClass()
Implements the rule for generating an example class.
|
boolean |
generateInsert()
Implements the rule for generating the insert SQL Map element and DAO
method.
|
boolean |
generateInsertSelective()
Implements the rule for generating the insert selective SQL Map element
and DAO method.
|
boolean |
generateJavaClient()
Implements the rule for generating a Java client.
|
boolean |
generateMyBatis3UpdateByExampleWhereClause()
Implements the rule for generating the SQL example where clause element
specifically for use in the update by example methods.
|
boolean |
generateResultMapWithBLOBs()
Implements the rule for generating the result map with BLOBs.
|
boolean |
generateSelectByExampleWithBLOBs()
Implements the rule for generating the select by example with BLOBs SQL
Map element and DAO method.
|
boolean |
generateSelectByExampleWithoutBLOBs()
Implements the rule for generating the select by example without BLOBs
SQL Map element and DAO method.
|
boolean |
generateSelectByPrimaryKey()
Implements the rule for generating the select by primary key SQL Map
element and DAO method.
|
boolean |
generateSQLExampleWhereClause()
Implements the rule for generating the SQL example where clause element.
|
boolean |
generateUpdateByExampleSelective() |
boolean |
generateUpdateByExampleWithBLOBs() |
boolean |
generateUpdateByExampleWithoutBLOBs() |
boolean |
generateUpdateByPrimaryKeySelective()
Implements the rule for generating the update by primary key selective
SQL Map element and DAO method.
|
boolean |
generateUpdateByPrimaryKeyWithBLOBs()
Implements the rule for generating the update by primary key with BLOBs
SQL Map element and DAO method.
|
boolean |
generateUpdateByPrimaryKeyWithoutBLOBs()
Implements the rule for generating the update by primary key without
BLOBs SQL Map element and DAO method.
|
IntrospectedTable |
getIntrospectedTable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateBaseRecordClass, generatePrimaryKeyClass, generateRecordWithBLOBsClassprotected TableConfiguration tableConfiguration
protected IntrospectedTable introspectedTable
protected final boolean isModelOnly
public BaseRules(IntrospectedTable introspectedTable)
introspectedTable - the introspected tablepublic boolean generateInsert()
generateInsert 在接口中 Rulespublic boolean generateInsertSelective()
generateInsertSelective 在接口中 Rulespublic FullyQualifiedJavaType calculateAllFieldsClass()
calculateAllFieldsClass 在接口中 Rulespublic boolean generateUpdateByPrimaryKeyWithoutBLOBs()
generateUpdateByPrimaryKeyWithoutBLOBs 在接口中 Rulespublic boolean generateUpdateByPrimaryKeyWithBLOBs()
generateUpdateByPrimaryKeyWithBLOBs 在接口中 Rulespublic boolean generateUpdateByPrimaryKeySelective()
generateUpdateByPrimaryKeySelective 在接口中 Rulespublic boolean generateDeleteByPrimaryKey()
generateDeleteByPrimaryKey 在接口中 Rulespublic boolean generateDeleteByExample()
generateDeleteByExample 在接口中 Rulespublic boolean generateBaseResultMap()
generateBaseResultMap 在接口中 Rulespublic boolean generateResultMapWithBLOBs()
generateResultMapWithBLOBs 在接口中 Rulespublic boolean generateSQLExampleWhereClause()
generateSQLExampleWhereClause 在接口中 Rulespublic boolean generateMyBatis3UpdateByExampleWhereClause()
generateMyBatis3UpdateByExampleWhereClause 在接口中 Rulespublic boolean generateSelectByPrimaryKey()
generateSelectByPrimaryKey 在接口中 Rulespublic boolean generateSelectByExampleWithoutBLOBs()
generateSelectByExampleWithoutBLOBs 在接口中 Rulespublic boolean generateSelectByExampleWithBLOBs()
generateSelectByExampleWithBLOBs 在接口中 Rulespublic boolean generateExampleClass()
generateExampleClass 在接口中 Rulespublic boolean generateCountByExample()
generateCountByExample 在接口中 Rulespublic boolean generateUpdateByExampleSelective()
generateUpdateByExampleSelective 在接口中 Rulespublic boolean generateUpdateByExampleWithoutBLOBs()
generateUpdateByExampleWithoutBLOBs 在接口中 Rulespublic boolean generateUpdateByExampleWithBLOBs()
generateUpdateByExampleWithBLOBs 在接口中 Rulespublic IntrospectedTable getIntrospectedTable()
getIntrospectedTable 在接口中 Rulespublic boolean generateBaseColumnList()
RulesgenerateBaseColumnList 在接口中 Rulespublic boolean generateBlobColumnList()
RulesgenerateBlobColumnList 在接口中 Rulespublic boolean generateJavaClient()
RulesgenerateJavaClient 在接口中 RulesCopyright © 2006–2016 MyBatis.org. All rights reserved.