/** * <p> * The number of items evaluated, before any <code>ScanFilter</code> is applied. A high <code>ScannedCount</code> * value with few, or no, <code>Count</code> results indicates an inefficient <code>Scan</code> operation. For more * information, see <a * href="http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and * ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>. * </p> * <p> * If you did not use a filter in the request, then <code>ScannedCount</code> is the same as <code>Count</code>. * </p> * * @param scannedCount * The number of items evaluated, before any <code>ScanFilter</code> is applied. A high * <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient * <code>Scan</code> operation. For more information, see <a * href="http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and * ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> * <p> * If you did not use a filter in the request, then <code>ScannedCount</code> is the same as * <code>Count</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public ScanResult withScannedCount(Integer scannedCount) { setScannedCount(scannedCount); return this; }
scanResult.setScannedCount(context.getUnmarshaller(Integer.class).unmarshall(context));
.unmarshall(context)); } else if (name.equals("ScannedCount")) { scanResult.setScannedCount(IntegerJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("LastEvaluatedKey")) {
/** * <p> * The number of items evaluated, before any <code>ScanFilter</code> is applied. A high <code>ScannedCount</code> * value with few, or no, <code>Count</code> results indicates an inefficient <code>Scan</code> operation. For more * information, see <a * href="http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and * ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>. * </p> * <p> * If you did not use a filter in the request, then <code>ScannedCount</code> is the same as <code>Count</code>. * </p> * * @param scannedCount * The number of items evaluated, before any <code>ScanFilter</code> is applied. A high * <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient * <code>Scan</code> operation. For more information, see <a * href="http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count">Count and * ScannedCount</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> * <p> * If you did not use a filter in the request, then <code>ScannedCount</code> is the same as * <code>Count</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public ScanResult withScannedCount(Integer scannedCount) { setScannedCount(scannedCount); return this; }
scanResult.setScannedCount(context.getUnmarshaller(Integer.class).unmarshall(context));