lasdf1234 commented on code in PR #12366:
URL: https://github.com/apache/gravitino/pull/12366#discussion_r3747873223


##########
api/src/main/java/org/apache/gravitino/file/FilesetCatalog.java:
##########
@@ -105,6 +108,43 @@ default Fileset createFileset(
         properties);
   }
 
+  /**
+   * Create a fileset metadata with a default location and optional 
create-time secrets.
+   *
+   * @param ident A fileset identifier.
+   * @param comment The comment of the fileset.
+   * @param type The type of the fileset.
+   * @param storageLocation The storage location of the fileset.
+   * @param properties The properties of the fileset.
+   * @param secretBindings optional property key → binding ({@code provider} + 
{@code plaintext})
+   *     for write-through
+   * @param secretReferences optional property key → secret locator ({@code 
provider} plus
+   *     provider-specific attributes).
+   * @return The created fileset metadata
+   * @throws NoSuchSchemaException If the schema does not exist.
+   * @throws FilesetAlreadyExistsException If the fileset already exists.
+   */
+  default Fileset createFileset(
+      NameIdentifier ident,
+      String comment,
+      Fileset.Type type,
+      String storageLocation,
+      Map<String, String> properties,
+      Map<String, SecretBinding> secretBindings,

Review Comment:
   Thank you very much for you suggestions.



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