Class: BigQuery::QueryResult

Inherits:
Array
  • Object
show all
Defined in:
lib/bigquery/query_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_processedObject (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