Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class NameMappingValue.
The potential components of a full name mapping that will be mapped during translation in the target data warehouse.
Generated from protobuf message google.cloud.bigquery.migration.v2.NameMappingValue
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ database |
string
The database name (BigQuery project ID equivalent in the target data warehouse). |
↳ schema |
string
The schema name (BigQuery dataset equivalent in the target data warehouse). |
↳ relation |
string
The relation name (BigQuery table or view equivalent in the target data warehouse). |
↳ attribute |
string
The attribute name (BigQuery column equivalent in the target data warehouse). |
getDatabase
The database name (BigQuery project ID equivalent in the target data warehouse).
Returns | |
---|---|
Type | Description |
string |
setDatabase
The database name (BigQuery project ID equivalent in the target data warehouse).
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSchema
The schema name (BigQuery dataset equivalent in the target data warehouse).
Returns | |
---|---|
Type | Description |
string |
setSchema
The schema name (BigQuery dataset equivalent in the target data warehouse).
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRelation
The relation name (BigQuery table or view equivalent in the target data warehouse).
Returns | |
---|---|
Type | Description |
string |
setRelation
The relation name (BigQuery table or view equivalent in the target data warehouse).
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAttribute
The attribute name (BigQuery column equivalent in the target data warehouse).
Returns | |
---|---|
Type | Description |
string |
setAttribute
The attribute name (BigQuery column equivalent in the target data warehouse).
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |