public abstract class BaseSessionCatalog extends java.lang.Object implements SessionCatalog
| Modifier and Type | Class and Description |
|---|---|
class |
BaseSessionCatalog.AsCatalog |
SessionCatalog.SessionContext| Constructor and Description |
|---|
BaseSessionCatalog() |
| Modifier and Type | Method and Description |
|---|---|
Catalog |
asCatalog(SessionCatalog.SessionContext context) |
void |
initialize(java.lang.String catalogName,
java.util.Map<java.lang.String,java.lang.String> props)
Initialize given a custom name and a map of catalog properties.
|
java.lang.String |
name()
Return the name for this catalog.
|
java.util.Map<java.lang.String,java.lang.String> |
properties()
Return the properties for this catalog.
|
<T> T |
withContext(SessionCatalog.SessionContext context,
java.util.function.Function<Catalog,T> task) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildTable, createNamespace, createNamespace, dropNamespace, dropTable, invalidateTable, listNamespaces, listNamespaces, listTables, loadNamespaceMetadata, loadTable, namespaceExists, purgeTable, registerTable, renameTable, tableExists, updateNamespaceMetadatapublic void initialize(java.lang.String catalogName,
java.util.Map<java.lang.String,java.lang.String> props)
SessionCataloginitialize in interface SessionCatalogcatalogName - a custom name for the catalogprops - catalog propertiespublic java.lang.String name()
SessionCatalogname in interface SessionCatalogpublic java.util.Map<java.lang.String,java.lang.String> properties()
SessionCatalogproperties in interface SessionCatalogpublic Catalog asCatalog(SessionCatalog.SessionContext context)
public <T> T withContext(SessionCatalog.SessionContext context, java.util.function.Function<Catalog,T> task)