Method: Groonga::Client::CommandLine::GroongaClient#initialize

Defined in:
lib/groonga/client/command-line/groonga-client.rb

#initializeGroongaClient

Returns a new instance of GroongaClient.



36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/groonga/client/command-line/groonga-client.rb', line 36

def initialize
  @chunk = false
  @load_input_type = "json"
  @available_load_input_types = ["json"]
  if Object.const_defined?(:Arrow)
    @available_load_input_types << "apache-arrow"
  end
  @load_lock_table = false

  @runner_options = {
    :split_load_chunk_size => 10000,
    :generate_request_id   => false,
    :target_commands       => [],
    :target_tables         => [],
    :target_columns        => [],
  }
end