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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setDatabase
Cloud Spanner database in the form `project/instance/database'
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUseParallelism
If parallelism should be used when reading from Cloud Spanner
Returns | |
---|---|
Type | Description |
bool |
setUseParallelism
If parallelism should be used when reading from Cloud Spanner
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |