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 function __construct(ConnectionInterface $connection, $jobId, $projectId, array $info, array $reloadOptions, ValueMapper $mapper)
{
$this->connection = $connection;
$this->info = $info;
$this->reloadOptions = $reloadOptions;
$this->identity = ['jobId' => $jobId, 'projectId' => $projectId];
$this->mapper = $mapper;
}