code: static <K, V> ViewQueryParameters<K, V> forwardPaginationQueryParameters
      (ViewQueryParameters<K, V> initialQueryParameters, K startkey, String startkey_docid) {
  
          // Copy the initial query parameters
          ViewQueryParameters<K, V> pageParameters = initialQueryParameters.copy();
  
          // Now override with the start keys provided
          pageParameters.setStartKey(startkey);
          pageParameters.setStartKeyDocId(startkey_docid);
  
          return pageParameters;
      }
docs: Generate query parameters for a forward page with the specified start key.
  
  @param initialQueryParameters page 1 query parameters
  @param startkey               the startkey for the forward page
  @param startkey_docid         the doc id for the startkey (in case of duplicate keys)
  @param <K>                    the view key type
  @param <V>                    the view value type
  @return the query parameters for the forward page