Google BigQuery Connection V1 Client - Class CloudSpannerProperties (1.0.3)

Reference documentation and code samples for the Google BigQuery Connection V1 Client class CloudSpannerProperties.

Connection properties specific to Cloud Spanner.

Generated from protobuf message google.cloud.bigquery.connection.v1.CloudSpannerProperties

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ database string

Cloud Spanner database in the form `project/instance/database'

↳ use_parallelism bool

If parallelism should be used when reading from Cloud Spanner

getDatabase

Cloud Spanner database in the form `project/instance/database'

Returns
TypeDescription
string

setDatabase

Cloud Spanner database in the form `project/instance/database'

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUseParallelism

If parallelism should be used when reading from Cloud Spanner

Returns
TypeDescription
bool

setUseParallelism

If parallelism should be used when reading from Cloud Spanner

Parameter
NameDescription
var bool
Returns
TypeDescription
$this