Class: Groonga::Command::LogicalCount

Inherits:
Base
  • Object
show all
Defined in:
lib/groonga/command/logical-count.rb

Overview

A command class that represents logical_count command.

Since:

  • 1.1.1

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?, #name, #output_type, #request_id, #to_command_format, #to_uri_format, #uri_format?

Constructor Details

This class inherits a constructor from Groonga::Command::Base

Class Method Details

.command_nameObject

Since:

  • 1.1.1



28
29
30
# File 'lib/groonga/command/logical-count.rb', line 28

def command_name
  "logical_count"
end

.parameter_namesObject

Since:

  • 1.1.1



32
33
34
35
36
37
38
39
40
41
42
# File 'lib/groonga/command/logical-count.rb', line 32

def parameter_names
  [
    :logical_table,
    :shard_key,
    :min,
    :min_border,
    :max,
    :max_border,
    :filter,
  ]
end

Instance Method Details

#filterString

Returns filter parameter value.

Returns:

  • (String)

    filter parameter value.

Since:

  • 1.1.1



92
93
94
# File 'lib/groonga/command/logical-count.rb', line 92

def filter
  self[:filter]
end

#logical_tableString

Returns logical_table parameter value.

Returns:

  • (String)

    logical_table parameter value.

Since:

  • 1.1.1



50
51
52
# File 'lib/groonga/command/logical-count.rb', line 50

def logical_table
  self[:logical_table]
end

#maxString

Returns max parameter value.

Returns:

  • (String)

    max parameter value.

Since:

  • 1.1.1



78
79
80
# File 'lib/groonga/command/logical-count.rb', line 78

def max
  self[:max]
end

#max_borderString

Returns max_border parameter value.

Returns:

  • (String)

    max_border parameter value.

Since:

  • 1.1.1



85
86
87
# File 'lib/groonga/command/logical-count.rb', line 85

def max_border
  self[:max_border]
end

#minString

Returns min parameter value.

Returns:

  • (String)

    min parameter value.

Since:

  • 1.1.1



64
65
66
# File 'lib/groonga/command/logical-count.rb', line 64

def min
  self[:min]
end

#min_borderString

Returns min_border parameter value.

Returns:

  • (String)

    min_border parameter value.

Since:

  • 1.1.1



71
72
73
# File 'lib/groonga/command/logical-count.rb', line 71

def min_border
  self[:min_border]
end

#shard_keyString

Returns shard_key parameter value.

Returns:

  • (String)

    shard_key parameter value.

Since:

  • 1.1.1



57
58
59
# File 'lib/groonga/command/logical-count.rb', line 57

def shard_key
  self[:shard_key]
end