Class: BigQuery::Jobs::RunQuery
- Inherits:
-
Object
- Object
- BigQuery::Jobs::RunQuery
- Defined in:
- lib/bigquery-client/run_query.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(client, query, options) ⇒ RunQuery
constructor
A new instance of RunQuery.
Constructor Details
#initialize(client, query, options) ⇒ RunQuery
Returns a new instance of RunQuery.
4 5 6 |
# File 'lib/bigquery-client/run_query.rb', line 4 def initialize(client, query, ) @client, @query, @options = client, query, end |
Instance Method Details
#call ⇒ Object
8 9 10 11 12 13 |
# File 'lib/bigquery-client/run_query.rb', line 8 def call @result = ResultSet.new execute_query fetch_pagenated_result @result end |