com.amazonaws.services.dynamodbv2.datamodeling
Class ScanResultPage<T>
java.lang.Object
com.amazonaws.services.dynamodbv2.datamodeling.ScanResultPage<T>
public class ScanResultPage<T>
- extends Object
Container for a page of scan results.
ScanResultPage
public ScanResultPage()
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.