code: public static ResultSet forRows(Type type, Iterable<Struct> rows) {
      return new PrePopulatedResultSet(type, rows);
    }
docs: Creates a pre-populated {@link com.google.cloud.spanner.ResultSet}
  
  @param type row type of the rows in the returned {@link com.google.cloud.spanner.ResultSet}
  @param rows the rows in the returned {@link com.google.cloud.spanner.ResultSet}.