class Groonga::Command::RangeFilter

A command class that represents `range_filter` command.

@since 1.1.0

Public Class Methods

command_name() click to toggle source
# File lib/groonga/command/range-filter.rb, line 29
def command_name
  "range_filter"
end
parameter_names() click to toggle source
# File lib/groonga/command/range-filter.rb, line 33
def parameter_names
  [
    :table,
    :column,
    :min,
    :min_border,
    :max,
    :max_border,
    :offset,
    :limit,
    :filter,
    :output_columns,
  ]
end

Public Instance Methods

column() click to toggle source

@return [String] `column` parameter value.

@since 1.1.0

# File lib/groonga/command/range-filter.rb, line 61
def column
  self[:column]
end
filter() click to toggle source

@return [String] `filter` parameter value.

@since 1.1.0

# File lib/groonga/command/range-filter.rb, line 114
def filter
  self[:filter]
end
limit() click to toggle source

@return [Integer] `limit` parameter value.

@since 1.1.0

# File lib/groonga/command/range-filter.rb, line 105
def limit
  value = self[:limit]
  value = value.to_i unless value.nil?
  value
end
max() click to toggle source

@return [String] `max` parameter value.

@since 1.1.0

# File lib/groonga/command/range-filter.rb, line 82
def max
  self[:max]
end
max_border() click to toggle source

@return [String] `max_border` parameter value.

@since 1.1.0

# File lib/groonga/command/range-filter.rb, line 89
def max_border
  self[:max_border]
end
min() click to toggle source

@return [String] `min` parameter value.

@since 1.1.0

# File lib/groonga/command/range-filter.rb, line 68
def min
  self[:min]
end
min_border() click to toggle source

@return [String] `min_border` parameter value.

@since 1.1.0

# File lib/groonga/command/range-filter.rb, line 75
def min_border
  self[:min_border]
end
offset() click to toggle source

@return [Integer] `offset` parameter value.

@since 1.1.0

# File lib/groonga/command/range-filter.rb, line 96
def offset
  value = self[:offset]
  value = value.to_i unless value.nil?
  value
end
output_columns() click to toggle source

@return [String] `output_columns` parameter value.

@since 1.1.0

# File lib/groonga/command/range-filter.rb, line 121
def output_columns
  self[:output_columns]
end
table() click to toggle source

@return [String] `table` parameter value.

@since 1.1.0

# File lib/groonga/command/range-filter.rb, line 54
def table
  self[:table]
end