com.amazonaws.services.dynamodb.datamodeling
Class ScanResultPage<T>
java.lang.Object
com.amazonaws.services.dynamodb.datamodeling.ScanResultPage<T>
public class ScanResultPage<T>
- extends java.lang.Object
Container for a page of scan 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 scan results, which may be
empty. |
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 |
ScanResultPage
public ScanResultPage()
getResults
public java.util.List<T> getResults()
- Returns all matching items for this page of scan results, which may be
empty.
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.