| Package | Description |
|---|---|
| com.dynamic.sql.core.dml.select |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFetchResult<R> |
class |
FetchResultImpl<R> |
| Modifier and Type | Method and Description |
|---|---|
FetchResult<R> |
ThenSortOrder.fetch() |
FetchResult<R> |
TableRelation.fetch() |
<R> FetchResult<R> |
FetchableImpl.fetch() |
<R> FetchResult<R> |
Fetchable.fetch()
获取查询结果,返回
FetchResult单表查询时默认返回表实体类实例化后的对象。 多表查询时强烈推荐声明具体的返回类型 this#fetch(Class),否则编译器可能要求手动强转类型,即使是类型安全的。 |
<T> FetchResult<T> |
ThenSortOrder.fetch(Class<T> returnClass) |
<T> FetchResult<T> |
FetchableImpl.fetch(Class<T> returnClass) |
<T> FetchResult<T> |
Fetchable.fetch(Class<T> returnClass)
获取查询结果,返回指定类型的数据。
|
<T> FetchResult<T> |
TableRelation.fetch(Class<T> returnClass) |
default FetchResult<Map<String,Object>> |
Fetchable.fetchOriginalMap()
获取查询结果并返回原始的
Map<String, Object> 类型数据。 |
Copyright © 2024–2025 Dynamic-SQL. All rights reserved.