diff --git a/core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorMetadata.java b/core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorMetadata.java index 4097c234a45a..df3871c516e8 100644 --- a/core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorMetadata.java +++ b/core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorMetadata.java @@ -269,6 +269,9 @@ default Optional getInfo(ConnectorTableHandle table) /** * List table, view and materialized view names, possibly filtered by schema. An empty list is returned if none match. * An empty list is returned also when schema name does not refer to an existing schema. + * + * @see #listViews(ConnectorSession, Optional) + * @see #listMaterializedViews(ConnectorSession, Optional) */ default List listTables(ConnectorSession session, Optional schemaName) { @@ -741,8 +744,10 @@ default void dropView(ConnectorSession session, SchemaTableName viewName) } /** - * List view names, possibly filtered by schema. An empty list is returned if none match. + * List view names (but not materialized views), possibly filtered by schema. An empty list is returned if none match. * An empty list is returned also when schema name does not refer to an existing schema. + * + * @see #listMaterializedViews(ConnectorSession, Optional) */ default List listViews(ConnectorSession session, Optional schemaName) { @@ -750,7 +755,7 @@ default List listViews(ConnectorSession session, Optional