New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement JRuby bridge for FileInputPlugin #21

Open
nahi opened this Issue Jan 28, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@nahi
Contributor

nahi commented Jan 28, 2015

More Ruby plugsin!

@frsyuki frsyuki changed the title from Implement JRuby bridge for FileInputPlugin and ParserPlugin to Implement JRuby bridge for FileInputPlugin Jan 29, 2015

@frsyuki

This comment has been minimized.

Show comment
Hide comment
@frsyuki

frsyuki May 20, 2015

Contributor

lib/embulk/file_input_plugin.rb needs to implement self.new_java method. Implementation will be similar to Embulk::InputPlugin.new_java or Embulk::ParserPlugin.new_java. Embulk::FileInputPlugin::JavaAdapter needs to implement transaction(java_config, java_control), resume(java_task_source, task_count, java_control), cleanup(java_task_source, task_count, java_commit_reports), and a method and/or class for open.

Contributor

frsyuki commented May 20, 2015

lib/embulk/file_input_plugin.rb needs to implement self.new_java method. Implementation will be similar to Embulk::InputPlugin.new_java or Embulk::ParserPlugin.new_java. Embulk::FileInputPlugin::JavaAdapter needs to implement transaction(java_config, java_control), resume(java_task_source, task_count, java_control), cleanup(java_task_source, task_count, java_commit_reports), and a method and/or class for open.

@dmikurube dmikurube modified the milestone: ruby-enhancement Mar 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment