PagedResult<T> Class
- java.
lang. Object - Serializable
- microsoft.
servicefabric. actors. PagedResult<T>
- microsoft.
Type Parameters
- T
Type of the items this query result contains.
public class PagedResult
Represents the result of actor query calls.
Constructor Summary
Constructor | Description |
---|---|
PagedResult() |
Creates a new instance of PagedResult<T>. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Continuation |
getContinuationToken()
Gets a continuation token indicating if more items need to be fetched by calling the method again.
Remarks:A null value of continuation token means that the result contains all the items and no calls to method needs to be made to fetch more items. |
List<T> |
getItems()
Gets Enumerator to iterate over the results. |
int |
getMaxItemsToReturn()
Max number of items to return in Query Result. |
void |
setContinuationToken(ContinuationToken token)
Sets a continuation token indicating if more items need to be fetched by calling the method again.
Remarks:A null value of continuation token means that the result contains all the items and no calls to method needs to be made to fetch more items. |
void |
setItems(List<T> items)
Sets Enumerator to iterate over the results. |
Constructor Details
PagedResult
public PagedResult()
Creates a new instance of PagedResult<T>.
Method Details
getContinuationToken
public ContinuationToken getContinuationToken()
Gets a continuation token indicating if more items need to be fetched by calling the method again.
Remarks:A null value of continuation token means that the result contains all the items and no calls to method needs to be made to fetch more items.
Returns:
getItems
public List
Gets Enumerator to iterate over the results.
Returns:
getMaxItemsToReturn
public static int getMaxItemsToReturn()
Max number of items to return in Query Result.
Returns:
setContinuationToken
public void setContinuationToken(ContinuationToken token)
Sets a continuation token indicating if more items need to be fetched by calling the method again.
Remarks:A null value of continuation token means that the result contains all the items and no calls to method needs to be made to fetch more items.
Parameters:
setItems
public void setItems(List
Sets Enumerator to iterate over the results.
Parameters:
Applies to
Azure SDK for Java