Uses of Class
org.apache.flink.table.catalog.exceptions.CatalogException
Packages that use CatalogException
-
Uses of CatalogException in org.apache.flink.table.catalog
Methods in org.apache.flink.table.catalog that throw CatalogExceptionModifier and TypeMethodDescriptionvoidCatalog.alterDatabase(String name, CatalogDatabase newDatabase, boolean ignoreIfNotExists) Modify an existing database.voidCatalog.alterFunction(ObjectPath functionPath, CatalogFunction newFunction, boolean ignoreIfNotExists) Modify an existing function.default voidCatalog.alterModel(ObjectPath modelPath, CatalogModel newModel, boolean ignoreIfNotExists) Modifies an existing model.voidCatalog.alterPartition(ObjectPath tablePath, CatalogPartitionSpec partitionSpec, CatalogPartition newPartition, boolean ignoreIfNotExists) Alter a partition.voidCatalog.alterPartitionColumnStatistics(ObjectPath tablePath, CatalogPartitionSpec partitionSpec, CatalogColumnStatistics columnStatistics, boolean ignoreIfNotExists) Update the column statistics of a table partition.voidCatalog.alterPartitionStatistics(ObjectPath tablePath, CatalogPartitionSpec partitionSpec, CatalogTableStatistics partitionStatistics, boolean ignoreIfNotExists) Update the statistics of a table partition.voidCatalog.alterTable(ObjectPath tablePath, CatalogBaseTable newTable, boolean ignoreIfNotExists) Modifies an existing table or view.default voidCatalog.alterTable(ObjectPath tablePath, CatalogBaseTable newTable, List<TableChange> tableChanges, boolean ignoreIfNotExists) Modifies an existing table or view.voidCatalog.alterTableColumnStatistics(ObjectPath tablePath, CatalogColumnStatistics columnStatistics, boolean ignoreIfNotExists) Update the column statistics of a table.voidCatalog.alterTableStatistics(ObjectPath tablePath, CatalogTableStatistics tableStatistics, boolean ignoreIfNotExists) Update the statistics of a table.default List<CatalogColumnStatistics>Catalog.bulkGetPartitionColumnStatistics(ObjectPath tablePath, List<CatalogPartitionSpec> partitionSpecs) Get a list of column statistics for given partitions.default List<CatalogTableStatistics>Catalog.bulkGetPartitionStatistics(ObjectPath tablePath, List<CatalogPartitionSpec> partitionSpecs) Get a list of statistics of given partitions.voidCatalog.close()Close the catalog when it is no longer needed and release any resource that it might be holding.voidCatalogStore.close()Close the catalog store when it is no longer needed and release any resource that it might be holding.booleanReturn whether the catalog exists in the catalog store.voidCatalog.createDatabase(String name, CatalogDatabase database, boolean ignoreIfExists) Create a database.voidCatalog.createFunction(ObjectPath functionPath, CatalogFunction function, boolean ignoreIfExists) Create a function.default voidCatalog.createModel(ObjectPath modelPath, CatalogModel model, boolean ignoreIfExists) Creates a new model.voidCatalog.createPartition(ObjectPath tablePath, CatalogPartitionSpec partitionSpec, CatalogPartition partition, boolean ignoreIfExists) Create a partition.voidCatalog.createTable(ObjectPath tablePath, CatalogBaseTable table, boolean ignoreIfExists) Creates a new table or view.booleanCatalog.databaseExists(String databaseName) Check if a database exists in this catalog.default voidCatalog.dropDatabase(String name, boolean ignoreIfNotExists) Drop a database.voidCatalog.dropDatabase(String name, boolean ignoreIfNotExists, boolean cascade) Drop a database.voidCatalog.dropFunction(ObjectPath functionPath, boolean ignoreIfNotExists) Drop a function.default voidCatalog.dropModel(ObjectPath modelPath, boolean ignoreIfNotExists) Drop a model.voidCatalog.dropPartition(ObjectPath tablePath, CatalogPartitionSpec partitionSpec, boolean ignoreIfNotExists) Drop a partition.voidCatalog.dropTable(ObjectPath tablePath, boolean ignoreIfNotExists) Drop a table or view.booleanCatalog.functionExists(ObjectPath functionPath) Check whether a function exists or not.CatalogStore.getCatalog(String catalogName) Get a catalog by name.Catalog.getDatabase(String databaseName) Get a database from this catalog.Catalog.getDefaultDatabase()Get the name of the default database for this catalog.Catalog.getFunction(ObjectPath functionPath) Get the function.default CatalogModelCatalog.getModel(ObjectPath modelPath) Returns aCatalogModelidentified by the givenObjectPath.Catalog.getPartition(ObjectPath tablePath, CatalogPartitionSpec partitionSpec) Get a partition of the given table.Catalog.getPartitionColumnStatistics(ObjectPath tablePath, CatalogPartitionSpec partitionSpec) Get the column statistics of a partition.Catalog.getPartitionStatistics(ObjectPath tablePath, CatalogPartitionSpec partitionSpec) Get the statistics of a partition.default ProcedureCatalog.getProcedure(ObjectPath procedurePath) Get the procedure.Catalog.getTable(ObjectPath tablePath) default CatalogBaseTableCatalog.getTable(ObjectPath tablePath, long timestamp) Catalog.getTableColumnStatistics(ObjectPath tablePath) Get the column statistics of a table.Catalog.getTableStatistics(ObjectPath tablePath) Get the statistics of a table.CatalogStore.listCatalogs()Retrieves the names of all registered catalogs.Catalog.listDatabases()Get the names of all databases in this catalog.Catalog.listFunctions(String dbName) List the names of all functions in the given database.Catalog.listModels(String databaseName) Get names of all models under this database.Catalog.listPartitions(ObjectPath tablePath) Get CatalogPartitionSpec of all partitions of the table.Catalog.listPartitions(ObjectPath tablePath, CatalogPartitionSpec partitionSpec) Get CatalogPartitionSpec of all partitions that is under the given CatalogPartitionSpec in the table.Catalog.listPartitionsByFilter(ObjectPath tablePath, List<Expression> filters) Get CatalogPartitionSpec of partitions by expression filters in the table.Catalog.listProcedures(String dbName) List the names of all procedures in the given database.Catalog.listTables(String databaseName) Get names of all tables and views under this database.Get names of all views under this database.default booleanCatalog.modelExists(ObjectPath modelPath) Check if a model exists in this catalog.TemporaryOperationListener.onCreateTemporaryFunction(ObjectPath functionPath, CatalogFunction function) This method is called when a temporary function is to be created in this catalog.TemporaryOperationListener.onCreateTemporaryModel(ObjectPath modelPath, CatalogModel model) This method is called when a temporary model is to be created in this catalog.TemporaryOperationListener.onCreateTemporaryTable(ObjectPath tablePath, CatalogBaseTable table) This method is called when a temporary table or view is to be created in this catalog.voidTemporaryOperationListener.onDropTemporaryFunction(ObjectPath functionPath) This method is called when a temporary function in this catalog is to be dropped.voidTemporaryOperationListener.onDropTemporaryModel(ObjectPath modelPath) This method is called when a temporary model in this catalog is to be dropped.voidTemporaryOperationListener.onDropTemporaryTable(ObjectPath tablePath) This method is called when a temporary table or view in this catalog is to be dropped.voidCatalog.open()Open the catalog.voidCatalogStore.open()Open the catalog store.booleanCatalog.partitionExists(ObjectPath tablePath, CatalogPartitionSpec partitionSpec) Check whether a partition exists or not.voidCatalogStore.removeCatalog(String catalogName, boolean ignoreIfNotExists) Remove a catalog with the given catalog name.default voidCatalog.renameModel(ObjectPath modelPath, String newModelName, boolean ignoreIfNotExists) Rename an existing model.voidCatalog.renameTable(ObjectPath tablePath, String newTableName, boolean ignoreIfNotExists) Rename an existing table or view.voidCatalogStore.storeCatalog(String catalogName, CatalogDescriptor catalog) Stores a catalog under the given catalog name.booleanCatalog.tableExists(ObjectPath tablePath) Check if a table or view exists in this catalog. -
Uses of CatalogException in org.apache.flink.table.factories
Methods in org.apache.flink.table.factories that throw CatalogExceptionModifier and TypeMethodDescriptionvoidCatalogStoreFactory.close()Close the CatalogStoreFactory.voidCatalogStoreFactory.open(CatalogStoreFactory.Context context) Initialize the CatalogStoreFactory.