code: public List<TablePrivilege> getTablePrivileges(final String catalog, final String schemaPattern,
                                                     final String tableNamePattern)
              throws SQLException {
          final List<TablePrivilege> list = new ArrayList<>();
          try (ResultSet results = databaseMetadata.getTablePrivileges(catalog, schemaPattern, tableNamePattern)) {
              if (results != null) {
                  bind(results, TablePrivilege.class, list);
              }
          }
          return list;
      }
docs: Invokes {@link DatabaseMetaData#getTablePrivileges(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 tableNamePattern} parameter
  @return a list of table privileges
  @throws SQLException if a database error occurs.