public class LocationObjectQueryResult<K extends LocationObjectQuery,V extends LocationObject>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
fetchNextPage(LocationObjectsQueryCallback callback)
Asynchronously fetches the result's "next" set of items,
invoking the specified callback when finished.
|
int |
getCount()
Gets the number of items contained in the result.
|
java.util.List<V> |
getItems()
Gets the items (assets, devices, or places) that match the original query's search arguments.
|
int |
getLimit()
Gets the requested limit of how many items were to be returned by the query.
|
LocationObjectQuery |
getNextQuery()
Gets the query that, when executed, will fetch the result's "next" set of items.
|
int |
getOffset()
Gets the requested offset returned by the query.
|
JSONObject |
getProperties()
Gets the result's raw properties (corresponding to the JSON payload).
|
K |
getQuery()
Gets the query that generates the result.
|
int |
getTotalResults()
Gets the total number of items that match the original query's search arguments,
but may not all be returned in the result.
|
boolean |
hasMore()
Gets the flag indicating whether there are more items to be fetched from the server
that match the original query's search arguments.
|
public K getQuery()
public java.util.List<V> getItems()
public JSONObject getProperties()
public int getTotalResults()
public int getCount()
public int getLimit()
public int getOffset()
public boolean hasMore()
public LocationObjectQuery getNextQuery()
public void fetchNextPage(LocationObjectsQueryCallback callback)
callback
-