Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.dynamodbv2.datamodeling
Class ScanResultPage<T>

java.lang.Object
  extended by com.amazonaws.services.dynamodbv2.datamodeling.ScanResultPage<T>

public class ScanResultPage<T>
extends Object

Container for a page of scan results.


Constructor Summary
ScanResultPage()
           
 
Method Summary
 Map<String,AttributeValue> getLastEvaluatedKey()
          Returns the last evaluated key, which can be used as the exclusiveStartKey to fetch the next page of results.
 List<T> getResults()
          Returns all matching items for this page of scan results, which may be empty.
 void setLastEvaluatedKey(Map<String,AttributeValue> lastEvaluatedKey)
           
 void setResults(List<T> results)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScanResultPage

public ScanResultPage()
Method Detail

getResults

public List<T> getResults()
Returns all matching items for this page of scan results, which may be empty.


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.