Class: Groonga::Client::Request::Select::DynamicColumn
- Inherits:
-
Object
- Object
- Groonga::Client::Request::Select::DynamicColumn
- Defined in:
- lib/groonga/client/request/select.rb
Instance Method Summary collapse
- #flags(value) ⇒ Object
-
#initialize(request, label) ⇒ DynamicColumn
constructor
A new instance of DynamicColumn.
- #stage(value) ⇒ Object
- #type(value) ⇒ Object
- #value(expression, values = nil) ⇒ Object
- #window ⇒ Object
Constructor Details
#initialize(request, label) ⇒ DynamicColumn
Returns a new instance of DynamicColumn.
640 641 642 643 |
# File 'lib/groonga/client/request/select.rb', line 640 def initialize(request, label) @request = request @label = label end |
Instance Method Details
#flags(value) ⇒ Object
655 656 657 |
# File 'lib/groonga/client/request/select.rb', line 655 def flags(value) @request.flags_parameter(:"#{prefix}flags", value) end |
#stage(value) ⇒ Object
645 646 647 648 |
# File 'lib/groonga/client/request/select.rb', line 645 def stage(value) add_parameter(OverwriteMerger, RequestParameter.new(:"#{prefix}stage", value)) end |
#type(value) ⇒ Object
650 651 652 653 |
# File 'lib/groonga/client/request/select.rb', line 650 def type(value) add_parameter(OverwriteMerger, RequestParameter.new(:"#{prefix}type", value)) end |
#value(expression, values = nil) ⇒ Object
659 660 661 662 663 664 |
# File 'lib/groonga/client/request/select.rb', line 659 def value(expression, values=nil) add_parameter(OverwriteMerger, ScriptSyntaxExpressionParameter.new(:"#{prefix}value", expression, values)) end |
#window ⇒ Object
666 667 668 |
# File 'lib/groonga/client/request/select.rb', line 666 def window DynamicColumnWindow.new(@request, @label) end |