Package io.trino.spi.connector
Class ConnectorTableSchema
java.lang.Object
io.trino.spi.connector.ConnectorTableSchema
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorTableSchema(SchemaTableName table, List<ColumnSchema> columns) ConnectorTableSchema(SchemaTableName table, List<ColumnSchema> columns, List<String> checkConstraints) -
Method Summary
-
Constructor Details
-
ConnectorTableSchema
-
ConnectorTableSchema
@Experimental(eta="2023-03-31") public ConnectorTableSchema(SchemaTableName table, List<ColumnSchema> columns, List<String> checkConstraints)
-
-
Method Details
-
getTable
-
getColumns
-
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
-