Interface Table

All Superinterfaces:
Auditable
All Known Implementing Classes:
TableDTO

@Evolving public interface Table extends Auditable
An interface representing a table in a Namespace. It defines the basic properties of a table. A catalog implementation with TableCatalog should implement this interface.
  • Field Details

    • PROPERTY_TABLE_FORMAT

      static final String PROPERTY_TABLE_FORMAT
      The property name for the table format. This property indicates the format of the table, such as "iceberg", "hudi", "lance", etc. generic lakehouse catalog will use this property to determine the table format and perform specific operations based on the format. For other relational catalogs, this property can be ignored.

      This property is a must-have property for generic lakehouse catalog to create tables, and cannot be modified after table creation.

      Current supported formats include:

      • lance
      See Also:
    • PROPERTY_EXTERNAL

      static final String PROPERTY_EXTERNAL
      The property name to indicate whether the table is external. This property is a boolean value represented as a string ("true" or "false"). if true (the table is external), the drop operation will not delete the underlying data.

      This property is optional and defaults to "false" if not specified. Also, it depends on the catalog implementation to decide whether to leverage and allow to alter this property.

      See Also:
    • PROPERTY_LOCATION

      static final String PROPERTY_LOCATION
      The property name for the table location. This property indicates the physical location of the table's data, such as a file path or a URI.

      The location property is optional, it can be specified when creating the table. If not, the catalog implementation may use a location based on the catalog and schema location properties.

      It depends on the catalog implementation to decide whether to leverage and allow to alter this property after table creation. And the behavior of altering this property (moving the table data) is also catalog specific.

      See Also:
  • Method Details