Class: Groonga::Command::Select
- Defined in:
- lib/groonga/command/select.rb
Instance Attribute Summary
Attributes inherited from Base
#arguments, #name, #original_format, #original_source, #path_prefix
Class Method Summary collapse
Instance Method Summary collapse
- #conditions ⇒ Object
- #drilldowns ⇒ Object
- #filter ⇒ Object
- #output_columns ⇒ Object
- #query ⇒ Object
- #scorer ⇒ Object
- #sortby ⇒ Object
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_names ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/groonga/command/select.rb', line 27 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
68 69 70 |
# File 'lib/groonga/command/select.rb', line 68 def conditions @conditions ||= split_filter_conditions end |
#drilldowns ⇒ Object
72 73 74 |
# File 'lib/groonga/command/select.rb', line 72 def drilldowns @drilldowns ||= array_value(:drilldown) end |
#filter ⇒ Object
64 65 66 |
# File 'lib/groonga/command/select.rb', line 64 def filter self[:filter] end |
#output_columns ⇒ Object
76 77 78 |
# File 'lib/groonga/command/select.rb', line 76 def output_columns self[:output_columns] end |
#query ⇒ Object
60 61 62 |
# File 'lib/groonga/command/select.rb', line 60 def query self[:query] end |
#scorer ⇒ Object
56 57 58 |
# File 'lib/groonga/command/select.rb', line 56 def scorer self[:scorer] end |
#sortby ⇒ Object
52 53 54 |
# File 'lib/groonga/command/select.rb', line 52 def sortby self[:sortby] end |