public interface QuerySql<T> extends ColumnSupport<QuerySql<T>>, DistinctSupport<QuerySql<T>>, FromSupport<QuerySql<T>>, GroupBySupport<QuerySql<T>>, HavingSupport<QuerySql<T>>, JoinOnSupport<QuerySql<T>>, LimitSupport<QuerySql<T>>, OrderBySupport<QuerySql<T>>, WhereSupport<QuerySql<T>>, PrepareStatementSupport
| Modifier and Type | Method and Description |
|---|---|
QuerySql<T> |
columnDefaultPo()
Deprecated.
|
List<T> |
executeQuery()
查询
|
<P> List<P> |
executeQuery(Class<P> clazz)
查询
|
<V> List<V> |
executeQueryDefault()
查询基本类型
|
<V> Page<V> |
executeQueryDefaultPage()
查询基本类型(包含分页信息)
|
T |
executeQueryOne()
查询单个对象
|
<P> P |
executeQueryOne(Class<P> clazz)
查询单个对象
|
Page<T> |
executeQueryPage()
查询(包含分页信息)
|
<P> Page<P> |
executeQueryPage(Class<P> clazz)
查询(包含分页信息)
|
QuerySql<T> |
fromDefault()
Deprecated.
|
CountSql |
toCountSql()
转换为 CountSql
|
column, column, columnPodistinct, distinctfrom, fromgroupBy, groupByandHaving, andHaving, having, having, orHaving, orHavingcomplexFullJoinOn, complexInnerJoinOn, complexLeftJoinOn, complexRightJoinOn, fullJoinOn, innerJoinOn, joinOn, joinOn, joinOn, leftJoinOn, rightJoinOnlimit, limitorderBy, orderBy, orderBy, orderByandWhere, andWhere, orWhere, orWhere, where, wheregetPrepareStatementCountSql toCountSql()
<P> Page<P> executeQueryPage(Class<P> clazz)
P - 返回类型模板clazz - 返回类型<P> List<P> executeQuery(Class<P> clazz)
P - 返回类型模板clazz - 返回类型T executeQueryOne()
<P> P executeQueryOne(Class<P> clazz)
P - 返回类型模板clazz - 返回类型<V> Page<V> executeQueryDefaultPage()
V - 基本类型<V> List<V> executeQueryDefault()
V - 基本类型@Deprecated QuerySql<T> columnDefaultPo()
@Deprecated QuerySql<T> fromDefault()
Copyright © 2020 IBIT程序猿. All rights reserved.