code: public List<JsonObject> executeParametrizedStatement(String statement, List<Object> parameters) {
          JsonArray positionalParams = JsonArray.from(parameters);
          ParameterizedN1qlQuery query = N1qlQuery.parameterized(statement, positionalParams);
          return executeQuery(query);
      }
docs: Executes a N1QL kernelTransaction with positional parameters.
  
  @param statement  the raw kernelTransaction string to execute (containing positional
  placeholders: $1, $2, ...)
  @param parameters the values for the positional placeholders in kernelTransaction
  @return the list of {@link JsonObject}s retrieved by this query
  @see N1qlQuery#parameterized(Statement, JsonArray)