code: private Map<String, AttributeValue> getLastExaminedKey(boolean removeHashKey) {
          Map<String, AttributeValue> generatedKey = new HashMap<String, AttributeValue>(getKeyFields().size());
  
          if (!dynamoDBIterator.hasNext0()) {
              return null;
          }
  
          for (String keyField : getKeyFields()) {
              if (removeHashKey && keyField.equals(getHashKeyField())) {
                  continue;
              }
  
              generatedKey.put(keyField, dynamoDBIterator.getLastItem().get(keyField));
          }
  
          return generatedKey;
      }
docs: -------------------------------------------------------------