Class PostgresCatalog

  • All Implemented Interfaces:
    org.apache.flink.table.catalog.Catalog

    @Internal
    public class PostgresCatalog
    extends AbstractJdbcCatalog
    Catalog for PostgreSQL.
    • Method Detail

      • listDatabases

        public List<String> listDatabases()
                                   throws org.apache.flink.table.catalog.exceptions.CatalogException
        Throws:
        org.apache.flink.table.catalog.exceptions.CatalogException
      • listTables

        public List<String> listTables​(String databaseName)
                                throws org.apache.flink.table.catalog.exceptions.DatabaseNotExistException,
                                       org.apache.flink.table.catalog.exceptions.CatalogException
        Throws:
        org.apache.flink.table.catalog.exceptions.DatabaseNotExistException
        org.apache.flink.table.catalog.exceptions.CatalogException
      • tableExists

        public boolean tableExists​(org.apache.flink.table.catalog.ObjectPath tablePath)
                            throws org.apache.flink.table.catalog.exceptions.CatalogException
        Throws:
        org.apache.flink.table.catalog.exceptions.CatalogException