class Groonga::Command::TableTokenize

A command class that represents `table_tokenize` command.

@since 1.1.0

Public Class Methods

command_name() click to toggle source
# File lib/groonga/command/table-tokenize.rb, line 26
def command_name
  "table_tokenize"
end
parameter_names() click to toggle source
# File lib/groonga/command/table-tokenize.rb, line 30
def parameter_names
  [
    :table,
    :string,
    :flags,
    :mode,
  ]
end

Public Instance Methods

flags() click to toggle source

@return [Array<String>] An array of flag specified in `flags`

parameter value. This array is extracted by parsing `flags`
parameter value. If `flags` parameter value is nil or empty,
an empty array is returned.

@since 1.1.0

# File lib/groonga/command/table-tokenize.rb, line 62
def flags
  @flags ||= flags_value(:flags)
end
mode() click to toggle source

@return [String] `mode` parameter value.

@since 1.1.0

# File lib/groonga/command/table-tokenize.rb, line 69
def mode
  self[:mode]
end
string() click to toggle source

@return [String] `string` parameter value.

@since 1.1.0

# File lib/groonga/command/table-tokenize.rb, line 52
def string
  self[:string]
end
table() click to toggle source

@return [String] `table` parameter value.

@since 1.1.0

# File lib/groonga/command/table-tokenize.rb, line 45
def table
  self[:table]
end