com.amazonaws.services.dynamodbv2.datamodeling
Class QueryResultPage<T>
java.lang.Object
com.amazonaws.services.dynamodbv2.datamodeling.QueryResultPage<T>
public class QueryResultPage<T>
- extends Object
Container for a page of query results
QueryResultPage
public QueryResultPage()
getResults
public List<T> getResults()
- Returns all matching items for this page of query results.
setResults
public void setResults(List<T> results)
getLastEvaluatedKey
public Map<String,AttributeValue> getLastEvaluatedKey()
- Returns the last evaluated key, which can be used as the
exclusiveStartKey to fetch the next page of results. Returns null if this
is the last page of results.
- Returns:
- The key-value pairs which map from the attribute name of each component
of the primary key to its value.
setLastEvaluatedKey
public void setLastEvaluatedKey(Map<String,AttributeValue> lastEvaluatedKey)
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.