Interface GenericTableCatalog
- All Known Implementing Classes:
PolarisGenericTableCatalog
public interface GenericTableCatalog
A catalog for managing `GenericTableEntity` instances
-
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
-
Method Details
-
initialize
Should be called before other methods -
createGenericTable
org.apache.polaris.core.entity.table.GenericTableEntity createGenericTable(org.apache.iceberg.catalog.TableIdentifier tableIdentifier, String format, String doc, Map<String, String> properties) Create a generic table with the specified identifier -
loadGenericTable
org.apache.polaris.core.entity.table.GenericTableEntity loadGenericTable(org.apache.iceberg.catalog.TableIdentifier tableIdentifier) Retrieve a generic table entity with a given identifier -
dropGenericTable
boolean dropGenericTable(org.apache.iceberg.catalog.TableIdentifier tableIdentifier) Drop a generic table entity with a given identifier -
listGenericTables
List<org.apache.iceberg.catalog.TableIdentifier> listGenericTables(org.apache.iceberg.catalog.Namespace namespace) List all generic tables under a specific namespace
-