Class: Groonga::Client::Request::Select::DynamicColumnWindow

Inherits:
Object
  • Object
show all
Defined in:
lib/groonga/client/request/select.rb

Instance Method Summary collapse

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.

Returns:

Since:

  • 0.4.1



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