public class Count extends AbstractStatement
PageableInteceptorCOMMA, COUNT_ALL, COUNT_BY_ID, DELETE_ALL, DELETE_BY_ID, DELETE_BY_IDS, DOT, FIND_ALL, FIND_BY_ID, FIND_BY_IDS, INSERT, READ_LOCK_BY_ID, SCRIPT_BEGIN, SCRIPT_END, UPDATE_BY_ID, WRITE_LOCK_BY_ID| 构造器和说明 |
|---|
Count(String originalStatementId,
String originalSql,
List<org.apache.ibatis.mapping.ParameterMapping> parameterMappings) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
configureBuilder(org.apache.ibatis.session.Configuration config,
String namespace,
org.apache.ibatis.mapping.MappedStatement.Builder builder) |
protected org.apache.ibatis.mapping.SqlSource |
createSqlSource(org.apache.ibatis.session.Configuration config,
String sqlScript) |
String |
renderSql(org.springframework.data.relational.core.sql.render.RenderContext renderContext,
TableInfo tableInfo)
Create a
SELECT COUNT(*) FROM (:originalSql) statement. |
protected String |
statementId(String namespace) |
basicTypeResultMap, configure, forEachIdsBindMarker, getBindMarker, getName, getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachCommaScript, forEachScript, marker, scriptTagprotected String statementId(String namespace)
statementId 在类中 AbstractStatementpublic String renderSql(org.springframework.data.relational.core.sql.render.RenderContext renderContext, TableInfo tableInfo)
SELECT COUNT(*) FROM (:originalSql) statement.renderSql 在类中 AbstractStatementrenderContext - sql render contenxttableInfo - table infoString. Guaranteed to be not null.protected org.apache.ibatis.mapping.SqlSource createSqlSource(org.apache.ibatis.session.Configuration config,
String sqlScript)
createSqlSource 在类中 AbstractStatementprotected void configureBuilder(org.apache.ibatis.session.Configuration config,
String namespace,
org.apache.ibatis.mapping.MappedStatement.Builder builder)
configureBuilder 在类中 AbstractStatementCopyright © 2022. All rights reserved.