Class GenericTableCatalogHandler
java.lang.Object
org.apache.polaris.service.catalog.common.CatalogHandler
org.apache.polaris.service.catalog.generic.GenericTableCatalogHandler
-
Field Summary
Fields inherited from class org.apache.polaris.service.catalog.common.CatalogHandler
authenticatedPrincipal, authorizer, callContext, catalogName, entityManager, resolutionManifest, securityContext -
Constructor Summary
ConstructorsConstructorDescriptionGenericTableCatalogHandler(org.apache.polaris.core.context.CallContext callContext, org.apache.polaris.core.persistence.PolarisEntityManager entityManager, org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, jakarta.ws.rs.core.SecurityContext securityContext, String catalogName, org.apache.polaris.core.auth.PolarisAuthorizer authorizer) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.polaris.service.types.LoadGenericTableResponsecreateGenericTable(org.apache.iceberg.catalog.TableIdentifier identifier, String format, String doc, Map<String, String> properties) booleandropGenericTable(org.apache.iceberg.catalog.TableIdentifier identifier) protected voidInitialize the catalog once authorized.org.apache.polaris.service.types.ListGenericTablesResponselistGenericTables(org.apache.iceberg.catalog.Namespace parent) org.apache.polaris.service.types.LoadGenericTableResponseloadGenericTable(org.apache.iceberg.catalog.TableIdentifier identifier) Methods inherited from class org.apache.polaris.service.catalog.common.CatalogHandler
authorizeBasicNamespaceOperationOrThrow, authorizeBasicNamespaceOperationOrThrow, authorizeBasicTableLikeOperationOrThrow, authorizeCollectionOfTableLikeOperationOrThrow, authorizeCreateNamespaceUnderNamespaceOperationOrThrow, authorizeCreateTableLikeUnderNamespaceOperationOrThrow, authorizeRenameTableLikeOperationOrThrow, throwNotFoundExceptionForTableLikeEntity
-
Constructor Details
-
GenericTableCatalogHandler
public GenericTableCatalogHandler(org.apache.polaris.core.context.CallContext callContext, org.apache.polaris.core.persistence.PolarisEntityManager entityManager, org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, jakarta.ws.rs.core.SecurityContext securityContext, String catalogName, org.apache.polaris.core.auth.PolarisAuthorizer authorizer)
-
-
Method Details
-
initializeCatalog
protected void initializeCatalog()Description copied from class:CatalogHandlerInitialize the catalog once authorized. Called after all `authorize...` methods.- Specified by:
initializeCatalogin classCatalogHandler
-
listGenericTables
public org.apache.polaris.service.types.ListGenericTablesResponse listGenericTables(org.apache.iceberg.catalog.Namespace parent) -
createGenericTable
-
dropGenericTable
public boolean dropGenericTable(org.apache.iceberg.catalog.TableIdentifier identifier) -
loadGenericTable
public org.apache.polaris.service.types.LoadGenericTableResponse loadGenericTable(org.apache.iceberg.catalog.TableIdentifier identifier)
-