Package org.apache.iceberg.flink
Interface CatalogLoader
- All Superinterfaces:
- Cloneable,- Serializable
- All Known Implementing Classes:
- CatalogLoader.CustomCatalogLoader,- CatalogLoader.HadoopCatalogLoader,- CatalogLoader.HiveCatalogLoader,- CatalogLoader.RESTCatalogLoader
Serializable loader to load an Iceberg 
Catalog.- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classstatic class
- 
Method SummaryModifier and TypeMethodDescriptionclone()Clone a CatalogLoader.static CatalogLoadercustom(String name, Map<String, String> properties, org.apache.hadoop.conf.Configuration hadoopConf, String impl) static CatalogLoaderstatic CatalogLoaderCreate a new catalog with the provided properties.static CatalogLoader
- 
Method Details- 
loadCatalogCatalog loadCatalog()Create a new catalog with the provided properties. NOTICE: for flink, we may initialize theCatalogLoaderat flink sql client side or job manager side, and then serialize this catalog loader to task manager, finally deserialize it and create a new catalog at task manager side.- Returns:
- a newly created Catalog
 
- 
cloneCatalogLoader clone()Clone a CatalogLoader.
- 
hadoopstatic CatalogLoader hadoop(String name, org.apache.hadoop.conf.Configuration hadoopConf, Map<String, String> properties) 
- 
hivestatic CatalogLoader hive(String name, org.apache.hadoop.conf.Configuration hadoopConf, Map<String, String> properties) 
- 
reststatic CatalogLoader rest(String name, org.apache.hadoop.conf.Configuration hadoopConf, Map<String, String> properties) 
- 
custom
 
-