Class: Groonga::Command::ColumnCreateSimilar

Inherits:
Base
  • Object
show all
Defined in:
lib/groonga/command/column-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

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_nameObject



23
24
25
# File 'lib/groonga/command/column-create-similar.rb', line 23

def command_name
  "column_create_similar"
end

.parameter_namesObject



27
28
29
30
31
32
33
# File 'lib/groonga/command/column-create-similar.rb', line 27

def parameter_names
  [
    :table,
    :name,
    :base_column,
  ]
end

Instance Method Details

#base_columnString

Returns The base column name.

Returns:

  • (String)

    The base column name.

Since:

  • 1.5.2



55
56
57
# File 'lib/groonga/command/column-create-similar.rb', line 55

def base_column
  self[:base_column]
end

#nameString

Returns The column name.

Returns:

  • (String)

    The column name.

Since:

  • 1.5.2



48
49
50
# File 'lib/groonga/command/column-create-similar.rb', line 48

def name
  self[:name]
end

#tableString

Returns table name.

Returns:

  • (String)

    table name.

Since:

  • 1.5.2



41
42
43
# File 'lib/groonga/command/column-create-similar.rb', line 41

def table
  self[:table]
end