Interface GenericTableCatalog

All Known Implementing Classes:
PolarisGenericTableCatalog

public interface GenericTableCatalog
A catalog for managing `GenericTableEntity` instances
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    boolean
    dropGenericTable(org.apache.iceberg.catalog.TableIdentifier tableIdentifier)
    Drop a generic table entity with a given identifier
    void
    initialize(String name, Map<String,String> properties)
    Should be called before other methods
    List<org.apache.iceberg.catalog.TableIdentifier>
    listGenericTables(org.apache.iceberg.catalog.Namespace namespace)
    List all generic tables under a specific namespace
    org.apache.polaris.core.entity.table.GenericTableEntity
    loadGenericTable(org.apache.iceberg.catalog.TableIdentifier tableIdentifier)
    Retrieve a generic table entity with a given identifier
  • Method Details

    • initialize

      void initialize(String name, Map<String,String> properties)
      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