메소드 | 설명 | |
---|---|---|
__construct ( Google\Cloud\BigQuery\Connection\ConnectionInterface $connection, string $id, string $projectId, array $info = [], |
||
cancel ( array $options = [] ) | Requests that a job be cancelled. You will need to poll the job to ensure the cancel request successfully goes through. | |
exists ( ) : boolean | Check whether or not the job exists. | |
id ( ) : string | Retrieves the job's ID. | |
identity ( ) : array | Retrieves the job's identity. | |
info ( array $options = [] ) : array | Retrieves the job's details. If no job data is cached a network request will be made to retrieve it. | |
isComplete ( array $options = [] ) : boolean | Checks the job's completeness. Useful in combination with {@see Google\Cloud\BigQuery\Job::reload()} to poll for job status. | |
queryResults ( array $options = [] ) : |
Retrieves the results of a query job. | |
reload ( array $options = [] ) : array | Triggers a network request to reload the job's details. |
public __construct ( Google\Cloud\BigQuery\Connection\ConnectionInterface $connection, string $id, string $projectId, array $info = [], |
||
$connection | Google\Cloud\BigQuery\Connection\ConnectionInterface | Represents a connection to BigQuery. |
$id | string | The job's ID. |
$projectId | string | The project's ID. |
$info | array | [optional] The job's metadata. |
$mapper | Maps values between PHP and BigQuery. |
public isComplete ( array $options = [] ) : boolean | ||
$options | array | [optional] Configuration options. |
리턴 | boolean |
public queryResults ( array $options = [] ) : |
||
$options | array | [optional] { Configuration options. @type int $maxResults Maximum number of results to read. @type int $startIndex Zero-based index of the starting row. @type int $timeoutMs How long to wait for the query to complete, in milliseconds. **Defaults to** `10000` milliseconds (10 seconds). } |
리턴 |