Class: Embulk::EncoderPlugin

Inherits:
Object
  • Object
show all
Defined in:
embulk-core/src/main/ruby/embulk/encoder_plugin.rb

Defined Under Namespace

Modules: RubyAdapter

Class Method Summary collapse

Class Method Details

.from_java(java_class) ⇒ Object

TODO new_java



14
15
16
# File 'embulk-core/src/main/ruby/embulk/encoder_plugin.rb', line 14

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

.transaction(config, &control) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'embulk-core/src/main/ruby/embulk/encoder_plugin.rb', line 6

def self.transaction(config, &control)
  raise NotImplementedError, "EncoderPlugin.transaction(config, &control) must be implemented"
end