Class: Groonga::Client::Request::Select::LabeledDrilldown
- Inherits:
-
Object
- Object
- Groonga::Client::Request::Select::LabeledDrilldown
- Defined in:
- lib/groonga/client/request/select.rb
Instance Method Summary collapse
- #calc_target(value) ⇒ Object
- #calc_types(value) ⇒ Object
-
#initialize(request, label) ⇒ LabeledDrilldown
constructor
A new instance of LabeledDrilldown.
- #keys(values) ⇒ Object
- #limit(value) ⇒ Object
- #offset(value) ⇒ Object
- #output_columns(value) ⇒ Object
- #sort_keys(value) ⇒ Object (also: #sortby, #sort)
Constructor Details
#initialize(request, label) ⇒ LabeledDrilldown
Returns a new instance of LabeledDrilldown.
592 593 594 595 |
# File 'lib/groonga/client/request/select.rb', line 592 def initialize(request, label) @request = request @label = label end |
Instance Method Details
#calc_target(value) ⇒ Object
625 626 627 |
# File 'lib/groonga/client/request/select.rb', line 625 def calc_target(value) @request.parameter(:"#{prefix}calc_target", value) end |
#calc_types(value) ⇒ Object
621 622 623 |
# File 'lib/groonga/client/request/select.rb', line 621 def calc_types(value) @request.flags_parameter(:"#{prefix}calc_types", value) end |
#keys(values) ⇒ Object
597 598 599 |
# File 'lib/groonga/client/request/select.rb', line 597 def keys(values) @request.values_parameter(:"#{prefix}keys", values) end |
#limit(value) ⇒ Object
617 618 619 |
# File 'lib/groonga/client/request/select.rb', line 617 def limit(value) @request.parameter(:"#{prefix}limit", value) end |
#offset(value) ⇒ Object
613 614 615 |
# File 'lib/groonga/client/request/select.rb', line 613 def offset(value) @request.parameter(:"#{prefix}offset", value) end |
#output_columns(value) ⇒ Object
608 609 610 611 |
# File 'lib/groonga/client/request/select.rb', line 608 def output_columns(value) add_parameter(OverwriteMerger, OutputColumnsParameter.new(prefix, value)) end |
#sort_keys(value) ⇒ Object Also known as: sortby, sort
601 602 603 604 |
# File 'lib/groonga/client/request/select.rb', line 601 def sort_keys(value) add_parameter(OverwriteMerger, BackwardCompatibleSortKeysParameter.new(prefix, value)) end |