public class OrderBy extends Object implements IOrderBy
| Constructor and Description |
|---|
OrderBy(IColumn column)
构造函数
|
OrderBy(IColumn column,
boolean desc)
构造函数
|
| Modifier and Type | Method and Description |
|---|---|
IColumn |
getColumn()
获取列
|
PrepareStatement |
getPrepareStatement(boolean useAlias)
构造预查询SQL对象
|
boolean |
isDesc()
定义是否倒序
|
void |
setColumn(IColumn column)
Sets the column
|
void |
setDesc(boolean desc)
Sets the desc
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrepareStatementpublic OrderBy(IColumn column)
column - 列public OrderBy(IColumn column, boolean desc)
column - 列desc - 是否倒序public PrepareStatement getPrepareStatement(boolean useAlias)
getPrepareStatement in interface PrepareStatementSupplieruseAlias - 是否使用别名public void setColumn(IColumn column)
You can use getColumn() to get the value of column
column - columnpublic boolean isDesc()
IOrderBypublic void setDesc(boolean desc)
You can use getDesc() to get the value of desc
desc - descCopyright © 2020 IBIT程序猿. All rights reserved.