Class: Groonga::Client::Response::Select
- Defined in:
- lib/groonga/client/response/select.rb
Defined Under Namespace
Classes: Drilldown
Instance Attribute Summary collapse
-
#drilldowns ⇒ Object
Returns the value of attribute drilldowns.
-
#n_hits ⇒ Integer
The number of records that match againt a search condition.
-
#records ⇒ Object
Returns the value of attribute records.
Attributes inherited from Base
#body, #command, #header, #raw
Instance Method Summary collapse
Methods inherited from Base
#elapsed_time, #initialize, parse, #start_time, #status_code, #success?
Constructor Details
This class inherits a constructor from Groonga::Client::Response::Base
Instance Attribute Details
#drilldowns ⇒ Object
Returns the value of attribute drilldowns.
30 31 32 |
# File 'lib/groonga/client/response/select.rb', line 30 def drilldowns @drilldowns end |
#n_hits ⇒ Integer
Returns The number of records that match againt a search condition.
28 29 30 |
# File 'lib/groonga/client/response/select.rb', line 28 def n_hits @n_hits end |
#records ⇒ Object
Returns the value of attribute records.
29 30 31 |
# File 'lib/groonga/client/response/select.rb', line 29 def records @records end |
Instance Method Details
#body=(body) ⇒ Object
32 33 34 35 |
# File 'lib/groonga/client/response/select.rb', line 32 def body=(body) super(body) parse_body(body) end |