class Groonga::Command::TableCopy

A command class that represents `table_copy` command.

@since 1.2.7

Public Class Methods

command_name() click to toggle source
# File lib/groonga/command/table-copy.rb, line 26
def command_name
  "table_copy"
end
parameter_names() click to toggle source
# File lib/groonga/command/table-copy.rb, line 30
def parameter_names
  [
    :from_name,
    :to_name,
  ]
end

Public Instance Methods

from_name() click to toggle source

@return [String] The source table name.

@since 1.2.7

# File lib/groonga/command/table-copy.rb, line 43
def from_name
  self[:from_name]
end
to_name() click to toggle source

@return [String] The destination table name.

@since 1.2.7

# File lib/groonga/command/table-copy.rb, line 50
def to_name
  self[:to_name]
end