Class TableDTO

java.lang.Object
org.apache.gravitino.dto.rel.TableDTO
All Implemented Interfaces:
Auditable, Table

public class TableDTO extends Object implements Table
Represents a Table DTO (Data Transfer Object).
  • Method Details

    • name

      public String name()
      Specified by:
      name in interface Table
      Returns:
      The name of the table.
    • columns

      public Column[] columns()
      Specified by:
      columns in interface Table
      Returns:
      The columns of the table.
    • comment

      public String comment()
      Specified by:
      comment in interface Table
      Returns:
      The comment associated with the table.
    • properties

      public Map<String,String> properties()
      Specified by:
      properties in interface Table
      Returns:
      The properties associated with the table.
    • auditInfo

      public AuditDTO auditInfo()
      Specified by:
      auditInfo in interface Auditable
      Returns:
      The audit information for the table.
    • partitioning

      public Transform[] partitioning()
      Specified by:
      partitioning in interface Table
      Returns:
      The partitioning of the table.
    • sortOrder

      public SortOrder[] sortOrder()
      Specified by:
      sortOrder in interface Table
      Returns:
      The sort orders of the table.
    • distribution

      public Distribution distribution()
      Specified by:
      distribution in interface Table
      Returns:
      The distribution of the table.
    • index

      public Index[] index()
      Specified by:
      index in interface Table
      Returns:
      The indexes of the table.
    • builder

      public static TableDTO.Builder builder()
      Creates a new Builder to build a Table DTO.
      Returns:
      A new Builder instance.