davidradl commented on code in PR #26385:
URL: https://github.com/apache/flink/pull/26385#discussion_r2022486807
##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TableEnvironment.java:
##########
@@ -1122,6 +1178,35 @@ void createTemporarySystemFunction(
/** Gets the names of all functions in this environment. */
String[] listFunctions();
+ /**
+ * Gets the names of all models available in the given namespace (the
given database of the
+ * given catalog). It returns both temporary and permanent models.
+ *
+ * @return A list of the names of all registered models in the given
database of the given
+ * catalog.
+ * @see #listTemporaryModels()
+ */
+ String[] listModels();
+
+ /**
+ * Gets the names of all models available in the given namespace (for the
provided database of
Review Comment:
nit: I would not use the word namespace- I would refer to the catalog and
database names
please add @params, whcih I assume should be tagged with notnull
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]