Class ConnectorTableSchema

java.lang.Object
io.trino.spi.connector.ConnectorTableSchema

public class ConnectorTableSchema extends Object
  • Constructor Details

  • Method Details

    • getTable

      public SchemaTableName getTable()
    • getColumns

      public List<ColumnSchema> getColumns()
    • getCheckConstraints

      @Experimental(eta="2023-03-31") public List<String> getCheckConstraints()
      List of constraints data in a table is expected to satisfy. Engine ensures rows written to a table meet these constraints. A check constraint is satisfied when it evaluates to True or Unknown.
      Returns:
      List of string representation of a Trino SQL scalar expression that can refer to table columns by name and produces a result coercible to boolean
    • toString

      public String toString()
      Overrides:
      toString in class Object