public class OrderBySupportImpl<T> extends Object implements SqlSupport<T>, OrderBySupport<T>, PrepareStatementBuildSupport
| Constructor and Description |
|---|
OrderBySupportImpl(T sql)
构造函数
|
| Modifier and Type | Method and Description |
|---|---|
PrepareStatement |
getOrderByPrepareStatement(boolean useAlias)
获取预查询SQL对象
|
T |
getSql()
返回sql
|
T |
orderBy(IColumn column)
`ORDER BY` 语句
|
T |
orderBy(IColumn column,
boolean desc)
`ORDER BY` 语句
|
T |
orderBy(IOrderBy orderBy)
`ORDER BY` 语句
|
T |
orderBy(List<IOrderBy> orderBys)
`ORDER BY` 语句
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, append, getPrepareStatement, getPrepareStatement, getPrepareStatement, getPrepareStatementpublic OrderBySupportImpl(T sql)
sql - sql对象public T getSql()
SqlSupportgetSql in interface SqlSupport<T>public T orderBy(IOrderBy orderBy)
OrderBySupportorderBy in interface OrderBySupport<T>orderBy - 相关orderByIOrderBypublic T orderBy(List<IOrderBy> orderBys)
OrderBySupportorderBy in interface OrderBySupport<T>orderBys - 相关orderBy列表IOrderBypublic T orderBy(IColumn column)
OrderBySupportorderBy in interface OrderBySupport<T>column - orderBy列public T orderBy(IColumn column, boolean desc)
OrderBySupportorderBy in interface OrderBySupport<T>column - orderBy列desc - 是否倒序public PrepareStatement getOrderByPrepareStatement(boolean useAlias)
useAlias - 是否使用别名Copyright © 2020 IBIT程序猿. All rights reserved.