Class: Pinot::QueryResult
- Inherits:
-
Struct
- Object
- Struct
- Pinot::QueryResult
- Defined in:
- lib/pinot/query_result.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#query ⇒ Object
Returns the value of attribute query.
-
#response ⇒ Object
Returns the value of attribute response.
-
#table ⇒ Object
Returns the value of attribute table.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
2 3 4 |
# File 'lib/pinot/query_result.rb', line 2 def error @error end |
#query ⇒ Object
Returns the value of attribute query
2 3 4 |
# File 'lib/pinot/query_result.rb', line 2 def query @query end |
#response ⇒ Object
Returns the value of attribute response
2 3 4 |
# File 'lib/pinot/query_result.rb', line 2 def response @response end |
#table ⇒ Object
Returns the value of attribute table
2 3 4 |
# File 'lib/pinot/query_result.rb', line 2 def table @table end |
Instance Method Details
#error? ⇒ Boolean
7 8 9 |
# File 'lib/pinot/query_result.rb', line 7 def error? !error.nil? end |
#success? ⇒ Boolean
3 4 5 |
# File 'lib/pinot/query_result.rb', line 3 def success? error.nil? end |