类 SqlInfo
java.lang.Object
com.baomidou.mybatisplus.core.parser.SqlInfo
public class SqlInfo extends Object
Sql Info
- 从以下版本开始:
- 2017-06-20
- 作者:
- hubin
-
构造器概要
构造器 构造器 说明 SqlInfo() -
方法概要
修饰符和类型 方法 说明 protected booleancanEqual(Object other)booleanequals(Object o)StringgetSql()SQL 内容inthashCode()booleanisOrderBy()是否排序static SqlInfonewInstance()static SqlInfoof(String sql)使用工厂快速构建 SQLInfo,默认支持排序static SqlInfoof(String sql, boolean sort)使用工厂快速构建 SQLInfoSqlInfosetOrderBy(boolean orderBy)是否排序SqlInfosetSql(String sql)SQL 内容StringtoString()
-
构造器详细资料
-
SqlInfo
public SqlInfo()
-
-
方法详细资料
-
of
使用工厂快速构建 SQLInfo,默认支持排序- 参数:
sql- SQL 语句- 返回:
- 返回新的 SQL 信息
- 另请参阅:
of(String, boolean)
-
of
使用工厂快速构建 SQLInfo- 参数:
sql- sql 语句sort- 是否排序- 返回:
- 返回新的 SQLInfo
-
newInstance
-
getSql
SQL 内容 -
isOrderBy
public boolean isOrderBy()是否排序 -
setSql
SQL 内容- 返回:
this.
-
setOrderBy
是否排序- 返回:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-