Class: Groonga::Command::TableCreateSimilar
- Defined in:
- lib/groonga/command/table-create-similar.rb
Instance Attribute Summary
Attributes inherited from Base
#arguments, #command_name, #original_format, #original_source, #path_prefix
Class Method Summary collapse
Instance Method Summary collapse
-
#base_table ⇒ String
The base table name.
-
#name ⇒ String
The new table name.
Methods inherited from Base
#==, #[], #[]=, #command_format?, #initialize, #key?, #output_type, #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/table-create-similar.rb', line 23 def command_name "table_create_similar" end |
.parameter_names ⇒ Object
27 28 29 30 31 32 |
# File 'lib/groonga/command/table-create-similar.rb', line 27 def parameter_names [ :name, :base_table, ] end |
Instance Method Details
#base_table ⇒ String
Returns The base table name.
46 47 48 |
# File 'lib/groonga/command/table-create-similar.rb', line 46 def base_table self[:base_table] end |
#name ⇒ String
Returns The new table name.
40 41 42 |
# File 'lib/groonga/command/table-create-similar.rb', line 40 def name self[:name] end |