Package io.trino.spi.connector
Class ConnectorTableMetadata
java.lang.Object
io.trino.spi.connector.ConnectorTableMetadata
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorTableMetadata(SchemaTableName table, List<ColumnMetadata> columns) ConnectorTableMetadata(SchemaTableName table, List<ColumnMetadata> columns, Map<String, Object> properties) ConnectorTableMetadata(SchemaTableName table, List<ColumnMetadata> columns, Map<String, Object> properties, Optional<String> comment) ConnectorTableMetadata(SchemaTableName table, List<ColumnMetadata> columns, Map<String, Object> properties, Optional<String> comment, List<String> checkConstraints) -
Method Summary
-
Constructor Details
-
ConnectorTableMetadata
-
ConnectorTableMetadata
public ConnectorTableMetadata(SchemaTableName table, List<ColumnMetadata> columns, Map<String, Object> properties) -
ConnectorTableMetadata
public ConnectorTableMetadata(SchemaTableName table, List<ColumnMetadata> columns, Map<String, Object> properties, Optional<String> comment) -
ConnectorTableMetadata
@Experimental(eta="2023-03-31") public ConnectorTableMetadata(SchemaTableName table, List<ColumnMetadata> columns, Map<String, Object> properties, Optional<String> comment, List<String> checkConstraints)
-
-
Method Details
-
getTable
-
getColumns
-
getProperties
-
getComment
-
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
-
getTableSchema
-
toString
-