Class GenericTableCatalogAdapter

java.lang.Object
org.apache.polaris.service.catalog.generic.GenericTableCatalogAdapter
All Implemented Interfaces:
org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApiService, CatalogAdapter

@RequestScoped public class GenericTableCatalogAdapter extends Object implements org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApiService, CatalogAdapter
  • Constructor Summary

    Constructors
    Constructor
    Description
    GenericTableCatalogAdapter(org.apache.polaris.core.context.RealmContext realmContext, org.apache.polaris.core.context.CallContext callContext, org.apache.polaris.core.persistence.PolarisEntityManager entityManager, org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, org.apache.polaris.core.auth.PolarisAuthorizer polarisAuthorizer, CatalogPrefixParser prefixParser, ReservedProperties reservedProperties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.core.Response
    createGenericTable(String prefix, String namespace, org.apache.polaris.service.types.CreateGenericTableRequest createGenericTableRequest, org.apache.polaris.core.context.RealmContext realmContext, jakarta.ws.rs.core.SecurityContext securityContext)
     
    jakarta.ws.rs.core.Response
    dropGenericTable(String prefix, String namespace, String genericTable, org.apache.polaris.core.context.RealmContext realmContext, jakarta.ws.rs.core.SecurityContext securityContext)
     
    jakarta.ws.rs.core.Response
    listGenericTables(String prefix, String namespace, String pageToken, Integer pageSize, org.apache.polaris.core.context.RealmContext realmContext, jakarta.ws.rs.core.SecurityContext securityContext)
     
    jakarta.ws.rs.core.Response
    loadGenericTable(String prefix, String namespace, String genericTable, org.apache.polaris.core.context.RealmContext realmContext, jakarta.ws.rs.core.SecurityContext securityContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.polaris.service.catalog.common.CatalogAdapter

    decodeNamespace, validatePrincipal
  • Constructor Details

    • GenericTableCatalogAdapter

      @Inject public GenericTableCatalogAdapter(org.apache.polaris.core.context.RealmContext realmContext, org.apache.polaris.core.context.CallContext callContext, org.apache.polaris.core.persistence.PolarisEntityManager entityManager, org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, org.apache.polaris.core.auth.PolarisAuthorizer polarisAuthorizer, CatalogPrefixParser prefixParser, ReservedProperties reservedProperties)
  • Method Details

    • createGenericTable

      public jakarta.ws.rs.core.Response createGenericTable(String prefix, String namespace, org.apache.polaris.service.types.CreateGenericTableRequest createGenericTableRequest, org.apache.polaris.core.context.RealmContext realmContext, jakarta.ws.rs.core.SecurityContext securityContext)
      Specified by:
      createGenericTable in interface org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApiService
    • dropGenericTable

      public jakarta.ws.rs.core.Response dropGenericTable(String prefix, String namespace, String genericTable, org.apache.polaris.core.context.RealmContext realmContext, jakarta.ws.rs.core.SecurityContext securityContext)
      Specified by:
      dropGenericTable in interface org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApiService
    • listGenericTables

      public jakarta.ws.rs.core.Response listGenericTables(String prefix, String namespace, String pageToken, Integer pageSize, org.apache.polaris.core.context.RealmContext realmContext, jakarta.ws.rs.core.SecurityContext securityContext)
      Specified by:
      listGenericTables in interface org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApiService
    • loadGenericTable

      public jakarta.ws.rs.core.Response loadGenericTable(String prefix, String namespace, String genericTable, org.apache.polaris.core.context.RealmContext realmContext, jakarta.ws.rs.core.SecurityContext securityContext)
      Specified by:
      loadGenericTable in interface org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApiService