Class: BigQuery::QueryResult
- Inherits:
-
Array
- Object
- Array
- BigQuery::QueryResult
- Defined in:
- lib/bigquery/query_result.rb
Instance Attribute Summary collapse
-
#total_bytes_processed ⇒ Object
readonly
Returns the value of attribute total_bytes_processed.
Instance Method Summary collapse
-
#initialize(result) ⇒ QueryResult
constructor
A new instance of QueryResult.
Constructor Details
#initialize(result) ⇒ QueryResult
Returns a new instance of QueryResult.
5 6 7 8 |
# File 'lib/bigquery/query_result.rb', line 5 def initialize(result) @total_bytes_processed = result['totalBytesProcessed'].to_i make_rows(result) end |
Instance Attribute Details
#total_bytes_processed ⇒ Object (readonly)
Returns the value of attribute total_bytes_processed.
3 4 5 |
# File 'lib/bigquery/query_result.rb', line 3 def total_bytes_processed @total_bytes_processed end |