Package org.apache.iceberg.catalog
Class BaseSessionCatalog
java.lang.Object
org.apache.iceberg.catalog.BaseSessionCatalog
- All Implemented Interfaces:
SessionCatalog
- Direct Known Subclasses:
BaseViewSessionCatalog
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.iceberg.catalog.SessionCatalog
SessionCatalog.SessionContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasCatalog
(SessionCatalog.SessionContext context) void
initialize
(String catalogName, Map<String, String> props) Initialize given a custom name and a map of catalog properties.name()
Return the name for this catalog.Return the properties for this catalog.<T> T
withContext
(SessionCatalog.SessionContext context, Function<Catalog, T> task) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.iceberg.catalog.SessionCatalog
buildTable, createNamespace, createNamespace, dropNamespace, dropTable, invalidateTable, listNamespaces, listNamespaces, listTables, loadNamespaceMetadata, loadTable, namespaceExists, purgeTable, registerTable, renameTable, tableExists, updateNamespaceMetadata
-
Constructor Details
-
BaseSessionCatalog
public BaseSessionCatalog()
-
-
Method Details
-
initialize
Description copied from interface:SessionCatalog
Initialize given a custom name and a map of catalog properties.- Specified by:
initialize
in interfaceSessionCatalog
- Parameters:
catalogName
- a custom name for the catalogprops
- catalog properties
-
name
Description copied from interface:SessionCatalog
Return the name for this catalog.- Specified by:
name
in interfaceSessionCatalog
- Returns:
- this catalog's name
-
properties
Description copied from interface:SessionCatalog
Return the properties for this catalog.- Specified by:
properties
in interfaceSessionCatalog
- Returns:
- this catalog's config properties
-
asCatalog
-
withContext
-