arina-ielchiieva commented on a change in pull request #2010: DRILL-7620: Fix 
plugin mutability issues
URL: https://github.com/apache/drill/pull/2010#discussion_r388857754
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/StoragePluginRegistry.java
 ##########
 @@ -70,6 +109,27 @@
    */
   StoragePluginConfig getStoredConfig(String name);
 
+  /**
+   * Return a config encoded as JSON.
+   * @throws PluginException if the plugin is undefined
+   */
+  String encode(String name) throws PluginException;
+  String encode(StoragePluginConfig config);
+
+  /**
+   * Return a config decoded from JSON.
+   * @throws IOException if the JSON is invalid
 
 Review comment:
   PluginEncodingException?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to