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 ClassesNested classes/interfaces inherited from interface org.apache.iceberg.catalog.SessionCatalog
SessionCatalog.SessionContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasCatalog(SessionCatalog.SessionContext context) voidinitialize(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> TwithContext(SessionCatalog.SessionContext context, Function<Catalog, T> task) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:SessionCatalogInitialize given a custom name and a map of catalog properties.- Specified by:
initializein interfaceSessionCatalog- Parameters:
catalogName- a custom name for the catalogprops- catalog properties
-
name
Description copied from interface:SessionCatalogReturn the name for this catalog.- Specified by:
namein interfaceSessionCatalog- Returns:
- this catalog's name
-
properties
Description copied from interface:SessionCatalogReturn the properties for this catalog.- Specified by:
propertiesin interfaceSessionCatalog- Returns:
- this catalog's config properties
-
asCatalog
-
withContext
-