Sha256: 3eaa9ce35e53215c7818e8c452b7c4020f1f80d3bd6cfd7c8abde65edc1866ea

Contents?: true

Size: 623 Bytes

Versions: 23

Compression:

Stored size: 623 Bytes

Contents

module Embulk

  class FileOutputPlugin
    # TODO transaction, resume, cleanup
    # TODO add, finish, close, abort, commit

    # TODO to_java

    def self.from_java(java_class)
      JavaPlugin.ruby_adapter_class(java_class, FileOutputPlugin, RubyAdapter)
    end

    module RubyAdapter
      module ClassMethods
        def new_java
          Java::FileOutputRunner.new(Java::org.embulk.plugin.PluginManager.newPluginInstance(plugin_java_class, Embulk::Java::EmbulkSystemProperties))
        end
        # TODO transaction, resume, cleanup
      end

      # TODO add, finish, close, abort, commit
    end
  end

end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
embulk-0.11.5-java lib/embulk/file_output_plugin.rb
embulk-0.11.3-java lib/embulk/file_output_plugin.rb
embulk-0.11.2-java lib/embulk/file_output_plugin.rb
embulk-0.11.1-java lib/embulk/file_output_plugin.rb
embulk-0.11.0-java lib/embulk/file_output_plugin.rb
embulk-0.10.50-java lib/embulk/file_output_plugin.rb
embulk-0.10.49-java lib/embulk/file_output_plugin.rb
embulk-0.10.48-java lib/embulk/file_output_plugin.rb
embulk-0.10.47-java lib/embulk/file_output_plugin.rb
embulk-0.10.46-java lib/embulk/file_output_plugin.rb
embulk-0.10.45-java lib/embulk/file_output_plugin.rb
embulk-0.10.44-java lib/embulk/file_output_plugin.rb
embulk-0.10.43-java lib/embulk/file_output_plugin.rb
embulk-0.10.42-java lib/embulk/file_output_plugin.rb
embulk-0.10.41-java lib/embulk/file_output_plugin.rb
embulk-0.10.40-java lib/embulk/file_output_plugin.rb
embulk-0.10.39-java lib/embulk/file_output_plugin.rb
embulk-0.10.38-java lib/embulk/file_output_plugin.rb
embulk-0.10.37-java lib/embulk/file_output_plugin.rb
embulk-0.10.36-java lib/embulk/file_output_plugin.rb