public class GroupBySupportImpl<T> extends Object implements SqlSupport<T>, GroupBySupport<T>, PrepareStatementBuildSupport
| Constructor and Description |
|---|
GroupBySupportImpl(T sql)
构造函数
|
| Modifier and Type | Method and Description |
|---|---|
<K> GroupBySupportImpl<K> |
copy(K sql)
对象复制(浅复制)
|
PrepareStatement |
getGroupByPrepareStatement(boolean useAlias)
获取预查询SQL对象
|
T |
getSql()
返回sql
|
T |
groupBy(Column groupBy)
`GROUP BY t1.column`语句
|
T |
groupBy(List<Column> groupBys)
`GROUP BY t1.column1, t2.column2, ...`语句
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, append, getPrepareStatement, getPrepareStatement, getPrepareStatement, getPrepareStatementpublic GroupBySupportImpl(T sql)
sql - sql对象public <K> GroupBySupportImpl<K> copy(K sql)
K - sql对象模板sql - sql对象public T getSql()
SqlSupportgetSql in interface SqlSupport<T>public T groupBy(Column groupBy)
GroupBySupportgroupBy in interface GroupBySupport<T>groupBy - 相关列aIColumnpublic T groupBy(List<Column> groupBys)
GroupBySupportgroupBy in interface GroupBySupport<T>groupBys - 相关列列表IColumnpublic PrepareStatement getGroupByPrepareStatement(boolean useAlias)
useAlias - 是否使用别名Copyright © 2020 IBIT程序猿. All rights reserved.