docs: public ResultSet getIndexInfo(String catalog, String schema, String table,
        boolean unique, boolean approximate) throws SQLException {
  
      String sql =
          "SELECT TABLE_SCHEMA TABLE_CAT, NULL TABLE_SCHEM, TABLE_NAME, NON_UNIQUE, "
              + " TABLE_SCHEMA INDEX_QUALIFIER, INDEX_NAME, 3 TYPE,"
              + " SEQ_IN_INDEX ORDINAL_POSITION, COLUMN_NAME, COLLATION ASC_OR_DESC,"
              + " CARDINALITY, NULL PAGES, NULL FILTER_CONDITION"
              + " FROM INFORMATION_SCHEMA.STATISTICS"
              + " WHERE TABLE_NAME = " + escapeQuote(table)
              + " AND "
              + catalogCond("TABLE_SCHEMA", catalog)
              + ((unique) ? " AND NON_UNIQUE = 0" : "")
              + " ORDER BY NON_UNIQUE, TYPE, INDEX_NAME, ORDINAL_POSITION";
  
      return executeQuery(sql);
    }