Class: Groonga::Client::Request::Select::DynamicColumnWindow
- Inherits:
-
Object
- Object
- Groonga::Client::Request::Select::DynamicColumnWindow
- Defined in:
- lib/groonga/client/request/select.rb
Instance Method Summary collapse
-
#group_keys(values) ⇒ Groonga::Client::Request::Select
Sets
columns[LABEL].window.group_keys
parameter. -
#initialize(request, label) ⇒ DynamicColumnWindow
constructor
A new instance of DynamicColumnWindow.
- #sort_keys(value) ⇒ Object (also: #sortby, #sort)
Constructor Details
#initialize(request, label) ⇒ DynamicColumnWindow
Returns a new instance of DynamicColumnWindow.
681 682 683 684 |
# File 'lib/groonga/client/request/select.rb', line 681 def initialize(request, label) @request = request @label = label end |
Instance Method Details
#group_keys(values) ⇒ Groonga::Client::Request::Select
Sets columns[LABEL].window.group_keys
parameter.
699 700 701 |
# File 'lib/groonga/client/request/select.rb', line 699 def group_keys(values) @request.values_parameter([:"#{prefix}group_keys"], values) end |
#sort_keys(value) ⇒ Object Also known as: sortby, sort
686 687 688 689 |
# File 'lib/groonga/client/request/select.rb', line 686 def sort_keys(value) add_parameter(OverwriteMerger, SortKeysParameter.new(prefix, value)) end |