|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.portal.PortalQueryResultSet<T>
T
- The type of Portal object the query will return. i.e., PortalItem or PortalGrouppublic class PortalQueryResultSet<T>
A class that contains the results of queries performed on a Portal. A "pageable" search performed on a Portal may yield a large number of results. By default, only the first ten result values are returned. The PortalQueryResultSet allows clients to retrieve results in batches and fetches more results from the server when necessary.
Constructor Summary | |
---|---|
PortalQueryResultSet(PortalQueryParams queryParams,
PortalQueryParams nextQueryParams,
int totalResults,
List<T> results)
The Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
PortalQueryParams |
getNextQueryParams()
Returns the next query parameters, if any. |
PortalQueryParams |
getQueryParams()
Returns the original query parameters used to generate these results. |
List<T> |
getResults()
Returns the results of the query. |
int |
getTotalResults()
Returns the total number of results generated by the query. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PortalQueryResultSet(PortalQueryParams queryParams, PortalQueryParams nextQueryParams, int totalResults, List<T> results)
queryParams
- the query paramsnextQueryParams
- the next query paramstotalResults
- the total resultsresults
- the resultsMethod Detail |
---|
public PortalQueryParams getQueryParams()
public PortalQueryParams getNextQueryParams()
public int getTotalResults()
public List<T> getResults()
PortalQueryParams
used to generate this query.
PortalQueryParams.getLimit()
,
PortalQueryParams.setLimit(int)
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |