google/cloud/bigquery/job.py
def result(self, timeout=None, retry=DEFAULT_RETRY):
        """Start the job and wait for it to complete and get the result.

        :type timeout: float
        :param timeout:
            How long (in seconds) to wait for job to complete before raising
            a :class:`concurrent.futures.TimeoutError`.

        :type retry: :class:`google.api_core.retry.Retry`
        :param retry: (Optional) How to retry the call that retrieves rows.

        :rtype: :class:`~google.api_core.page_iterator.Iterator`
        :returns:
            Iterator of row data :class:`tuple`s. During each page, the
            iterator will have the ``total_rows`` attribute set, which counts
            the total number of rows **in the result set** (this is distinct
            from the total number of rows in the current page:
            ``iterator.page.num_items``).

        :raises:
            :class:`~google.cloud.exceptions.GoogleCloudError` if the job
            failed or :class:`concurrent.futures.TimeoutError` if the job did
            not complete in the given timeout.
        """
        super(QueryJob, self).result(timeout=timeout)
        # Return an iterator instead of returning the job.
        schema = self.query_results().schema
        dest_table = self.destination
        return self._client.list_rows(dest_table, selected_fields=schema,
                                      retry=retry)
Start the job and wait for it to complete and get the result.

        :type timeout: float
        :param timeout:
            How long (in seconds) to wait for job to complete before raising
            a :class:`concurrent.futures.TimeoutError`.

        :type retry: :class:`google.api_core.retry.Retry`
        :param retry: (Optional) How to retry the call that retrieves rows.

        :rtype: :class:`~google.api_core.page_iterator.Iterator`
        :returns:
            Iterator of row data :class:`tuple`s. During each page, the
            iterator will have the ``total_rows`` attribute set, which counts
            the total number of rows **in the result set** (this is distinct
            from the total number of rows in the current page:
            ``iterator.page.num_items``).

        :raises:
            :class:`~google.cloud.exceptions.GoogleCloudError` if the job
            failed or :class:`concurrent.futures.TimeoutError` if the job did
            not complete in the given timeout.
        
Start the job and wait for it to complete and get the result.
Start the job and wait for it to complete and get the result .
def result(self, timeout=None, retry=DEFAULT_RETRY):
        super(QueryJob, self).result(timeout=timeout)
        schema = self.query_results().schema
        dest_table = self.destination
        return self._client.list_rows(dest_table, selected_fields=schema,
                                      retry=retry)
def result ( self , timeout = None , retry = DEFAULT_RETRY ) : super ( QueryJob , self ) . result ( timeout = timeout ) schema = self . query_results ( ) . schema dest_table = self . destination return self . _client . list_rows ( dest_table , selected_fields = schema , retry = retry )
Start the job and wait for it to complete and get the result.
Start the job and wait for it to complete and get the result .
"""Start the job and wait for it to complete and get the result.

        :type timeout: float
        :param timeout:
            How long (in seconds) to wait for job to complete before raising
            a :class:`concurrent.futures.TimeoutError`.

        :type retry: :class:`google.api_core.retry.Retry`
        :param retry: (Optional) How to retry the call that retrieves rows.

        :rtype: :class:`~google.api_core.page_iterator.Iterator`
        :returns:
            Iterator of row data :class:`tuple`s. During each page, the
            iterator will have the ``total_rows`` attribute set, which counts
            the total number of rows **in the result set** (this is distinct
            from the total number of rows in the current page:
            ``iterator.page.num_items``).

        :raises:
            :class:`~google.cloud.exceptions.GoogleCloudError` if the job
            failed or :class:`concurrent.futures.TimeoutError` if the job did
            not complete in the given timeout.
        """ # Return an iterator instead of returning the job.
Iterator of row data :class:`tuple`s. During each page, the
iterator will have the ``total_rows`` attribute set, which counts
the total number of rows **in the result set** (this is distinct
from the total number of rows in the current page:
``iterator.page.num_items``).
Iterator of row data : class : ` tuple ` s . During each page the iterator will have the ` ` total_rows ` ` attribute set which counts the total number of rows ** in the result set ** ( this is distinct from the total number of rows in the current page : ` ` iterator . page . num_items ` ` ) .
:class:`~google.api_core.page_iterator.Iterator`
:class:`~google.cloud.exceptions.GoogleCloudError` if the job
failed or :class:`concurrent.futures.TimeoutError` if the job did
not complete in the given timeout.
: class : ` ~google . cloud . exceptions . GoogleCloudError ` if the job failed or : class : ` concurrent . futures . TimeoutError ` if the job did not complete in the given timeout .
self
timeout
None
retry
(Optional) How to retry the call that retrieves rows.
( Optional ) How to retry the call that retrieves rows .