jerryshao commented on code in PR #7476:
URL: https://github.com/apache/gravitino/pull/7476#discussion_r2250301720


##########
api/src/main/java/org/apache/gravitino/tag/TagOperations.java:
##########
@@ -89,4 +90,13 @@ Tag alterTag(String name, TagChange... changes)
    * @return True if the tag is deleted, false if the tag does not exist.
    */
   boolean deleteTag(String name);
+
+  /**
+   * List all metadata objects associated with the specified tags.
+   *
+   * @param tagNames Array of tag names to query for associated objects.
+   * @return Array of metadata objects associated with the specified tags.
+   * @throws NoSuchTagException If any of the specified tags do not exist.
+   */
+  MetadataObject[] listMetadataObjectsForTags(String[] tagNames) throws 
NoSuchTagException;

Review Comment:
   How do you differentiate which metadata objects associate to which tag based 
on the returned value?



-- 
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]

Reply via email to