프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$connection | Google\Cloud\BigQuery\Connection\ConnectionInterface | Represents a connection to BigQuery. |
메소드 | 설명 | |
---|---|---|
__construct ( Google\Cloud\BigQuery\Connection\ConnectionInterface $connection, string $jobId, string $projectId, array $info, array $reloadOptions, |
||
identity ( ) : array | Retrieves the query result's identity. | |
info ( ) : array | Retrieves the cached query details. | |
isComplete ( ) : boolean | Checks the query's completeness. Useful in combination with {@see Google\Cloud\BigQuery\QueryResults::reload()} to poll for query status. | |
reload ( array $options = [] ) : array | Triggers a network request to reload the query's details. | |
rows ( array $options = [] ) : array | Retrieves the rows associated with the query and merges them together with the table's schema. It is recommended to check the completeness of the query before attempting to access rows. |
public __construct ( Google\Cloud\BigQuery\Connection\ConnectionInterface $connection, string $jobId, string $projectId, array $info, array $reloadOptions, |
||
$connection | Google\Cloud\BigQuery\Connection\ConnectionInterface | Represents a connection to BigQuery. |
$jobId | string | The job's ID. |
$projectId | string | The project's ID. |
$info | array | The query result's metadata. |
$reloadOptions | array | The options to use when reloading query data. |
$mapper | Maps values between PHP and BigQuery. |
public isComplete ( ) : boolean | ||
리턴 | boolean |
public reload ( array $options = [] ) : array | ||
$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). } |
리턴 | array |