public class QueryResultPage<T> extends Object
| Constructor and Description | 
|---|
| QueryResultPage() | 
| Modifier and Type | Method and Description | 
|---|---|
| ConsumedCapacity | getConsumedCapacity()The capacity units consumed by an operation. | 
| Integer | getCount()The number of items in the response. | 
| 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 query results. | 
| Integer | getScannedCount()The number of items evaluated, before any QueryFilter is
 applied. | 
| void | setConsumedCapacity(ConsumedCapacity consumedCapacity) | 
| void | setCount(Integer count) | 
| void | setLastEvaluatedKey(Map<String,AttributeValue> lastEvaluatedKey) | 
| void | setResults(List<T> results) | 
| void | setScannedCount(Integer scannedCount) | 
public Map<String,AttributeValue> getLastEvaluatedKey()
public void setLastEvaluatedKey(Map<String,AttributeValue> lastEvaluatedKey)
public Integer getCount()
If you used a QueryFilter in the request, then Count is the number of items returned after the filter was applied, and ScannedCount is the number of matching items before> the filter was applied.
If you did not use a filter in the request, then Count and ScannedCount are the same.
If you used a QueryFilter in the request, then Count is the number of items returned after the filter was applied, and ScannedCount is the number of matching items before> the filter was applied.
If you did not use a filter in the request, then Count and ScannedCount are the same.
public void setCount(Integer count)
public Integer getScannedCount()
If you did not use a filter in the request, then ScannedCount is the same as Count.
If you did not use a filter in the request, then ScannedCount is the same as Count.
public void setScannedCount(Integer scannedCount)
public ConsumedCapacity getConsumedCapacity()
public void setConsumedCapacity(ConsumedCapacity consumedCapacity)
Copyright © 2015. All rights reserved.