com.amazonaws.services.dynamodb.datamodeling
Class QueryResultPage<T>
java.lang.Object
com.amazonaws.services.dynamodb.datamodeling.QueryResultPage<T>
public class QueryResultPage<T>
- extends java.lang.Object
Container for a page of query results
Method Summary |
Key |
getLastEvaluatedKey()
Returns the last evaluated key, which can be used as the
exclusiveStartKey to fetch the next page of results. |
java.util.List<T> |
getResults()
Returns all matching items for this page of query results. |
void |
setLastEvaluatedKey(Key lastEvaluatedKey)
|
void |
setResults(java.util.List<T> results)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryResultPage
public QueryResultPage()
getResults
public java.util.List<T> getResults()
- Returns all matching items for this page of query results.
setResults
public void setResults(java.util.List<T> results)
getLastEvaluatedKey
public Key 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.
setLastEvaluatedKey
public void setLastEvaluatedKey(Key lastEvaluatedKey)
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.