Package org.apache.flink.table.factories
Interface CatalogFactory
-
- All Superinterfaces:
Factory
@PublicEvolving public interface CatalogFactory extends Factory
A factory to create configured catalog instances based on string-based properties. See alsoFactoryfor more information.Note that this interface supports the
TableFactorystack for compatibility purposes. This is deprecated, however, and new implementations should implement theFactorystack instead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCatalogFactory.ContextContext provided when a catalog is created.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CatalogcreateCatalog(CatalogFactory.Context context)Creates and configures aCatalogusing the given context.-
Methods inherited from interface org.apache.flink.table.factories.Factory
factoryIdentifier, optionalOptions, requiredOptions
-
-
-
-
Method Detail
-
createCatalog
Catalog createCatalog(CatalogFactory.Context context)
Creates and configures aCatalogusing the given context.An implementation should perform validation and the discovery of further (nested) factories in this method.
-
-