com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper
Class QueryResultPage<T>

java.lang.Object
  extended by com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.QueryResultPage<T>

public class QueryResultPage<T>
extends java.lang.Object

Container for a page of query results


Constructor Summary
QueryResultPage()
           
 
Method Summary
 java.util.Map<java.lang.String,AttributeValue> 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(java.util.Map<java.lang.String,AttributeValue> lastEvaluatedKey)
           
 void setResults(java.util.List<T> results)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryResultPage

public QueryResultPage()
Method Detail

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 java.util.Map<java.lang.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(java.util.Map<java.lang.String,AttributeValue> lastEvaluatedKey)


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.