Class: Groonga::Command::QueryLogFlagsRemove

Inherits:
Base
  • Object
show all
Defined in:
lib/groonga/command/query-log-flags-remove.rb

Overview

A command class that represents query_log_flags_remove command.

Since:

  • 1.3.3

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

Constructor Details

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

Class Method Details

.command_nameObject

Since:

  • 1.3.3



26
27
28
# File 'lib/groonga/command/query-log-flags-remove.rb', line 26

def command_name
  "query_log_flags_remove"
end

.parameter_namesObject

Since:

  • 1.3.3



30
31
32
33
34
# File 'lib/groonga/command/query-log-flags-remove.rb', line 30

def parameter_names
  [
    :flags
  ]
end

Instance Method Details

#flagsArray<String>

Returns An array of flags 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.

Returns:

  • (Array<String>)

    An array of flags 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.3.3



45
46
47
# File 'lib/groonga/command/query-log-flags-remove.rb', line 45

def flags
  @flags ||= flags_value(:flags)
end