code: public List<JsonObject> executeParametrizedStatement(String statement, List<String> parameterNames,
                                                           List<Object> parameterValues) {
          JsonObject namedParams = JsonObject.create();
          for (int param = 0; param < parameterNames.size(); param++) {
              namedParams.put(parameterNames.get(param), parameterValues.get(param));
          }
          ParameterizedN1qlQuery query = N1qlQuery.parameterized(statement, namedParams);
          return executeQuery(query);
      }
docs: Executes a N1QL kernelTransaction with named parameters.
  
  @param statement       the raw kernelTransaction string to execute (containing named
  placeholders: $param1, $param2, ...)
  @param parameterNames  the placeholders' names in kernelTransaction
  @param parameterValues the values for the named placeholders in kernelTransaction
  @return the list of {@link JsonObject}s retrieved by this query
  @see N1qlQuery#parameterized(Statement, JsonObject)