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

Constructor Details

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

Class Method Details

.parameter_namesObject

Since:

  • 1.1.1



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

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



88
89
90
# File 'lib/groonga/command/logical-count.rb', line 88

def filter
  self[:filter]
end

#logical_tableString

Returns logical_table parameter value.

Returns:

  • (String)

    logical_table parameter value.

Since:

  • 1.1.1



46
47
48
# File 'lib/groonga/command/logical-count.rb', line 46

def logical_table
  self[:logical_table]
end

#maxString

Returns max parameter value.

Returns:

  • (String)

    max parameter value.

Since:

  • 1.1.1



74
75
76
# File 'lib/groonga/command/logical-count.rb', line 74

def max
  self[:max]
end

#max_borderString

Returns max_border parameter value.

Returns:

  • (String)

    max_border parameter value.

Since:

  • 1.1.1



81
82
83
# File 'lib/groonga/command/logical-count.rb', line 81

def max_border
  self[:max_border]
end

#minString

Returns min parameter value.

Returns:

  • (String)

    min parameter value.

Since:

  • 1.1.1



60
61
62
# File 'lib/groonga/command/logical-count.rb', line 60

def min
  self[:min]
end

#min_borderString

Returns min_border parameter value.

Returns:

  • (String)

    min_border parameter value.

Since:

  • 1.1.1



67
68
69
# File 'lib/groonga/command/logical-count.rb', line 67

def min_border
  self[:min_border]
end

#shard_keyString

Returns shard_key parameter value.

Returns:

  • (String)

    shard_key parameter value.

Since:

  • 1.1.1



53
54
55
# File 'lib/groonga/command/logical-count.rb', line 53

def shard_key
  self[:shard_key]
end