loserwang1024 commented on code in PR #2515:
URL: https://github.com/apache/fluss/pull/2515#discussion_r2756994983
##########
fluss-client/src/main/java/org/apache/fluss/client/admin/Admin.java:
##########
@@ -179,6 +180,9 @@ CompletableFuture<Void> dropDatabase(
/** List all databases in fluss cluster asynchronously. */
CompletableFuture<List<String>> listDatabases();
+ /** List all databases' summary information in fluss cluster
asynchronously. */
+ CompletableFuture<List<DatabaseSummary>> listDatabases(ListDatabaseOption
option);
Review Comment:
With the ListDatabaseOption option, if we want to support additional
capabilities later (such as paginated queries), there's no need to add a new
method.
--
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]