code: public List<Column> getColumns(final String catalog, final String schemaPattern, final String tableNamePattern,
                                     final String columnNamePattern)
              throws SQLException {
          final List<Column> list = new ArrayList<>();
          try (ResultSet results = databaseMetadata.getColumns(
                  catalog, schemaPattern, tableNamePattern, columnNamePattern)) {
              if (results != null) {
                  bind(results, Column.class, list);
              }
          }
          return list;
      }
docs: Invokes {@link DatabaseMetaData#getColumns(java.lang.String, java.lang.String, java.lang.String,
  java.lang.String)} with given arguments and returns bound information.
  
  @param catalog           the value for {@code catalog} parameter
  @param schemaPattern     the value for {@code schemaPattern} parameter
  @param tableNamePattern  the value for {@code tableNameSchema} parameter
  @param columnNamePattern the value for {@code columnNamePattern} parameter
  @return a list of columns
  @throws SQLException if a database error occurs.
  @see DatabaseMetaData#getColumns(String, String, String, String)