Class PolarisGenericTableCatalog
java.lang.Object
org.apache.polaris.service.catalog.generic.PolarisGenericTableCatalog
- All Implemented Interfaces:
GenericTableCatalog
-
Constructor Summary
ConstructorsConstructorDescriptionPolarisGenericTableCatalog(org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, org.apache.polaris.core.context.CallContext callContext, org.apache.polaris.core.persistence.resolver.PolarisResolutionManifestCatalogView resolvedEntityView) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.polaris.core.entity.table.GenericTableEntitycreateGenericTable(org.apache.iceberg.catalog.TableIdentifier tableIdentifier, String format, String doc, Map<String, String> properties) Create a generic table with the specified identifierbooleandropGenericTable(org.apache.iceberg.catalog.TableIdentifier tableIdentifier) Drop a generic table entity with a given identifiervoidinitialize(String name, Map<String, String> properties) Should be called before other methodsList<org.apache.iceberg.catalog.TableIdentifier> listGenericTables(org.apache.iceberg.catalog.Namespace namespace) List all generic tables under a specific namespaceorg.apache.polaris.core.entity.table.GenericTableEntityloadGenericTable(org.apache.iceberg.catalog.TableIdentifier tableIdentifier) Retrieve a generic table entity with a given identifier
-
Constructor Details
-
PolarisGenericTableCatalog
public PolarisGenericTableCatalog(org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, org.apache.polaris.core.context.CallContext callContext, org.apache.polaris.core.persistence.resolver.PolarisResolutionManifestCatalogView resolvedEntityView)
-
-
Method Details
-
initialize
Description copied from interface:GenericTableCatalogShould be called before other methods- Specified by:
initializein interfaceGenericTableCatalog
-
createGenericTable
public org.apache.polaris.core.entity.table.GenericTableEntity createGenericTable(org.apache.iceberg.catalog.TableIdentifier tableIdentifier, String format, String doc, Map<String, String> properties) Description copied from interface:GenericTableCatalogCreate a generic table with the specified identifier- Specified by:
createGenericTablein interfaceGenericTableCatalog
-
loadGenericTable
public org.apache.polaris.core.entity.table.GenericTableEntity loadGenericTable(org.apache.iceberg.catalog.TableIdentifier tableIdentifier) Description copied from interface:GenericTableCatalogRetrieve a generic table entity with a given identifier- Specified by:
loadGenericTablein interfaceGenericTableCatalog
-
dropGenericTable
public boolean dropGenericTable(org.apache.iceberg.catalog.TableIdentifier tableIdentifier) Description copied from interface:GenericTableCatalogDrop a generic table entity with a given identifier- Specified by:
dropGenericTablein interfaceGenericTableCatalog
-
listGenericTables
public List<org.apache.iceberg.catalog.TableIdentifier> listGenericTables(org.apache.iceberg.catalog.Namespace namespace) Description copied from interface:GenericTableCatalogList all generic tables under a specific namespace- Specified by:
listGenericTablesin interfaceGenericTableCatalog
-