title: Get all the table items from DynamoDB table using Java High Level API
body: <p>I implemented scan operation using in dynamodb table using dynamodbmapper, but I'm not getting all the results. Scan returns different number of items, whenever I run my program. </p>
  
  <p>Code snippet :</p>
  
  <pre><code>DyanmoDBScanExpression scanExpression = new DynamoDBScanExpression();
  List&lt;Books&gt; scanResult = mapper.scan(Books.class, scanExpression);
  </code></pre>
  
  <p>I investigated into it, and found out about the limit of the items scan returns. But I couln't find a way to get all the items from the table using mapper! Is there a way so I can loop through all the items of the table. I have set enough heap memory in JVM so there won't be memory issues.</p>