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


##########
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:
   thanks for the review! no I was not intended to differentiate tags based on 
metadata objects. is that a need?



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