Class: Groonga::Client::Response::Select
- Includes:
- Drilldownable, Searchable
- Defined in:
- lib/groonga/client/response/select.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Slice
Instance Attribute Summary collapse
-
#n_hits ⇒ Integer
(also: #total_count)
The number of records that match againt a search condition.
- #slices ⇒ ::Hash<String, Groonga::Client::Response::Select::Slice>
Attributes included from Searchable
#raw_columns, #raw_records, #records
Attributes included from Drilldownable
Attributes inherited from Base
#body, #command, #header, #raw, #trace_logs
Instance Method Summary collapse
Methods included from Searchable
#each, #limit_value, #offset_value, #size
Methods inherited from Base
#elapsed_time, #error_message, #initialize, parse, #return_code, #start_time, #status_code, #success?
Constructor Details
This class inherits a constructor from Groonga::Client::Response::Base
Instance Attribute Details
#n_hits ⇒ Integer Also known as: total_count
Returns The number of records that match againt a search condition.
184 185 186 |
# File 'lib/groonga/client/response/select.rb', line 184 def n_hits @n_hits end |
#slices ⇒ ::Hash<String, Groonga::Client::Response::Select::Slice>
191 192 193 |
# File 'lib/groonga/client/response/select.rb', line 191 def slices @slices end |
Instance Method Details
#body=(body) ⇒ Object
193 194 195 196 |
# File 'lib/groonga/client/response/select.rb', line 193 def body=(body) super(body) parse_body(body) end |