code: public List<Catalog> getCatalogs() throws SQLException {
          final List<Catalog> list = new ArrayList<>();
          try (ResultSet results = databaseMetadata.getCatalogs()) {
              if (results != null) {
                  bind(results, Catalog.class, list);
              }
          }
          return list;
      }
docs: Invokes {@link DatabaseMetaData#getCatalogs()} and returns bound information.
  
  @return a list of catalogs
  @throws SQLException if a database error occurs.
  @see DatabaseMetaData#getCatalogs()