protected void loadNextPageIntoResults()

in src/main/java/com/amazonaws/services/dynamodbv2/LockItemPaginatedQueryIterator.java [58:71]


  protected void loadNextPageIntoResults() {
    this.queryResponse = this.dynamoDB.query(this.queryRequest);

    this.currentPageResults = this.queryResponse.items().stream().map(this.lockItemFactory::create).collect(toList());
    this.currentPageResultsIndex = 0;

    this.queryRequest = QueryRequest.builder()
        .tableName(queryRequest.tableName())
        .keyConditionExpression(queryRequest.keyConditionExpression())
        .expressionAttributeNames(queryRequest.expressionAttributeNames())
        .expressionAttributeValues(queryRequest.expressionAttributeValues())
        .exclusiveStartKey(queryResponse.lastEvaluatedKey())
        .build();
  }