Module: Embulk

Defined in:
embulk-core/src/main/ruby/embulk.rb,
embulk-core/src/main/ruby/embulk/exec.rb,
embulk-core/src/main/ruby/embulk/page.rb,
embulk-core/src/main/ruby/embulk/error.rb,
embulk-core/src/main/ruby/embulk/buffer.rb,
embulk-core/src/main/ruby/embulk/column.rb,
embulk-core/src/main/ruby/embulk/logger.rb,
embulk-core/src/main/ruby/embulk/plugin.rb,
embulk-core/src/main/ruby/embulk/schema.rb,
embulk-core/src/main/ruby/embulk/version.rb,
embulk-core/src/main/ruby/embulk/file_input.rb,
embulk-core/src/main/ruby/embulk/data_source.rb,
embulk-core/src/main/ruby/embulk/file_output.rb,
embulk-core/src/main/ruby/embulk/java_plugin.rb,
embulk-core/src/main/ruby/embulk/guess_plugin.rb,
embulk-core/src/main/ruby/embulk/input_plugin.rb,
embulk-core/src/main/ruby/embulk/page_builder.rb,
embulk-core/src/main/ruby/embulk/filter_plugin.rb,
embulk-core/src/main/ruby/embulk/guess/charset.rb,
embulk-core/src/main/ruby/embulk/guess/newline.rb,
embulk-core/src/main/ruby/embulk/output_plugin.rb,
embulk-core/src/main/ruby/embulk/parser_plugin.rb,
embulk-core/src/main/ruby/embulk/decoder_plugin.rb,
embulk-core/src/main/ruby/embulk/encoder_plugin.rb,
embulk-core/src/main/ruby/embulk/java/bootstrap.rb,
embulk-core/src/main/ruby/embulk/executor_plugin.rb,
embulk-core/src/main/ruby/embulk/plugin_registry.rb,
embulk-core/src/main/ruby/embulk/formatter_plugin.rb,
embulk-core/src/main/ruby/embulk/file_input_plugin.rb,
embulk-core/src/main/ruby/embulk/file_output_plugin.rb

Defined Under Namespace

Modules: Exec, Guess, Impl, Java, Plugin, Type Classes: Buffer, Column, ConfigError, DataError, DataSource, DecoderPlugin, EncoderPlugin, ExecutorPlugin, FileInput, FileInputPlugin, FileOutput, FileOutputPlugin, FilterPlugin, FormatterPlugin, GuessPlugin, InputPlugin, JavaPlugin, LineGuessPlugin, Logger, OutputPlugin, Page, PageBuilder, ParserPlugin, PluginLoadError, PluginManager, PluginRegistry, Schema, Slf4jAdapter, StandardLoggerAdapter, TextGuessPlugin

Constant Summary

VERSION =

Converts the original Java-style version string to Ruby-style. E.g., “0.9.0-SNAPSHOT” (in Java) is converted to “0.9.0.snapshot” in Ruby.

::String.new(Java::org.embulk.EmbulkVersion::VERSION).tr('-', '.').downcase
@@logger =

default logger

Logger.new(STDOUT)

Class Method Summary collapse

Class Method Details

.lib_path(path) ⇒ Object

Raises:

  • (NotImplementedError)


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

def self.lib_path(path)
  raise NotImplementedError.new("Embulk.lib_path is removed in v0.9.")
end

.loggerObject



144
145
146
# File 'embulk-core/src/main/ruby/embulk/logger.rb', line 144

def self.logger
  @@logger
end

.logger=(logger) ⇒ Object



148
149
150
# File 'embulk-core/src/main/ruby/embulk/logger.rb', line 148

def self.logger=(logger)
  @@logger = logger
end

.require_classpathObject

Raises:

  • (NotImplementedError)


9
10
11
# File 'embulk-core/src/main/ruby/embulk.rb', line 9

def self.require_classpath()
  raise NotImplementedError.new("Embulk.require_classpath is removed in v0.9.")
end

.setup(system_config = {}) ⇒ Object

Raises:

  • (NotImplementedError)


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

def self.setup(system_config={})
  raise NotImplementedError.new("Embulk.setup is removed in v0.9.")
end