public final class CloudResult
extends java.lang.Object
企业地图搜索结果是分页显示的,从第0页开始,每页最多100个企业地图数据。该类封装了此分页结果,并且会缓存已经检索到的页的搜索结果。
此类不可直接构造,只能通过调用类 CloudPoiSearch 的searchCloudAsyn()方法得到。
Enterprise map search results class.Enterprise map search results are displayed in pages, starting from page 0, with a maximum of 100 enterprise map data per page. This class encapsulates the paginated results and caches the retrieved data.
This class cannot be directly instantiated and can only be obtained by calling the searchCloudAsyn() method of the CloudPoiSearch class.
| 限定符和类型 | 方法和说明 |
|---|---|
static CloudResult |
createPagedResult(CloudSearch.Query query,
int itemCount,
CloudSearch.SearchBound bound,
int pageSize,
java.util.ArrayList<CloudItem> items) |
CloudSearch.SearchBound |
getBound()
返回搜索结果的查询范围
Returns the query scope of the search results. |
java.util.ArrayList<CloudItem> |
getClouds()
返回当前页所有
CloudItem 结果。 |
int |
getPageCount()
返回搜索结果的总页数
Returns the total number of pages of search results. |
CloudSearch.Query |
getQuery()
返回搜索结果对应的查询参数
Returns the query parameters corresponding to the search results. |
int |
getTotalCount()
返回搜索结果的总数量
Returns the total number of search results |
public static CloudResult createPagedResult(CloudSearch.Query query, int itemCount, CloudSearch.SearchBound bound, int pageSize, java.util.ArrayList<CloudItem> items)
public int getPageCount()
public CloudSearch.Query getQuery()
public CloudSearch.SearchBound getBound()
public java.util.ArrayList<CloudItem> getClouds()
public int getTotalCount()