You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/04/25 07:46:35 UTC

[GitHub] [shardingsphere] VeejaLiu opened a new issue, #17087: Can I read the file in the init() method of the custom algorithm class?

VeejaLiu opened a new issue, #17087:
URL: https://github.com/apache/shardingsphere/issues/17087

   ## Question
   I'm using Proxy.
   Can I read the file in the init() method of the custom algorithm class?
   Where should I put the file in the proxy?
   How should I read it? Can you give me an example?


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] VeejaLiu closed issue #17087: Can I read the file in the init() method of the custom algorithm class?

Posted by GitBox <gi...@apache.org>.
VeejaLiu closed issue #17087: Can I read the file in the init() method of the custom algorithm class?
URL: https://github.com/apache/shardingsphere/issues/17087


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN commented on issue #17087: Can I read the file in the init() method of the custom algorithm class?

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #17087:
URL: https://github.com/apache/shardingsphere/issues/17087#issuecomment-1108447872

   If you are doing your custom algorithm, you may do anything you want in the `init()` including reading a file. There are many ways to do that, such as packing the file into your custom algorithm jar and read it by `YourClass.class.getResource()`.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] VeejaLiu commented on issue #17087: Can I read the file in the init() method of the custom algorithm class?

Posted by GitBox <gi...@apache.org>.
VeejaLiu commented on issue #17087:
URL: https://github.com/apache/shardingsphere/issues/17087#issuecomment-1109249884

   @TeslaCN Thank you, mate.
   This is exciting news. This will help me solve many problems.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org