Class: Groonga::Command::Select
- Inherits:
-
Base
- Object
- Base
- Groonga::Command::Select
show all
- Defined in:
- lib/groonga/command/select.rb
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?
Class Method Details
.command_name ⇒ Object
25
26
27
|
# File 'lib/groonga/command/select.rb', line 25
def command_name
"select"
end
|
.parameter_names ⇒ Object
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# File 'lib/groonga/command/select.rb', line 29
def parameter_names
[
:table,
:match_columns,
:query,
:filter,
:scorer,
:sortby,
:output_columns,
:offset,
:limit,
:drilldown,
:drilldown_sortby,
:drilldown_output_columns,
:drilldown_offset,
:drilldown_limit,
:cache,
:match_escalation_threshold,
:query_expansion,
:query_flags,
:query_expander,
]
end
|
Instance Method Details
#conditions ⇒ Object
72
73
74
|
# File 'lib/groonga/command/select.rb', line 72
def conditions
@conditions ||= split_filter_conditions
end
|
#drilldowns ⇒ Object
76
77
78
|
# File 'lib/groonga/command/select.rb', line 76
def drilldowns
@drilldowns ||= array_value(:drilldown)
end
|
#filter ⇒ Object
68
69
70
|
# File 'lib/groonga/command/select.rb', line 68
def filter
self[:filter]
end
|
#output_columns ⇒ Object
80
81
82
|
# File 'lib/groonga/command/select.rb', line 80
def output_columns
self[:output_columns]
end
|
#query ⇒ Object
64
65
66
|
# File 'lib/groonga/command/select.rb', line 64
def query
self[:query]
end
|
#scorer ⇒ Object
60
61
62
|
# File 'lib/groonga/command/select.rb', line 60
def scorer
self[:scorer]
end
|
#sortby ⇒ Object
56
57
58
|
# File 'lib/groonga/command/select.rb', line 56
def sortby
self[:sortby]
end
|