Class: Groonga::Command::Dump
Instance Attribute Summary
Attributes inherited from Base
#arguments, #command_name, #original_format, #original_source, #path_prefix
Class Method Summary collapse
Instance Method Summary collapse
- #output_type ⇒ Object
-
#sort_hash_table? ⇒ Boolean
true
ifsort_hash_table
value is"yes"
.
Methods inherited from Base
#==, #[], #[]=, #command_format?, #initialize, #key?, #name, #request_id, #to_command_format, #to_elasticsearch_format, #to_s, #to_uri_format, #uri_format?
Constructor Details
This class inherits a constructor from Groonga::Command::Base
Class Method Details
.command_name ⇒ Object
23 24 25 |
# File 'lib/groonga/command/dump.rb', line 23 def command_name "dump" end |
.parameter_names ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/groonga/command/dump.rb', line 27 def parameter_names [ :tables, :dump_plugins, :dump_schema, :dump_records, :dump_indexes, :dump_configs, :sort_hash_table, ] end |
Instance Method Details
#output_type ⇒ Object
42 43 44 |
# File 'lib/groonga/command/dump.rb', line 42 def output_type :none end |
#sort_hash_table? ⇒ Boolean
Returns true
if sort_hash_table
value is "yes"
.
49 50 51 52 53 |
# File 'lib/groonga/command/dump.rb', line 49 def sort_hash_table? boolean_value(:sort_hash_table, default: false, invalid: false) end |