Google Cloud Data Catalog V1 Client - Class DatabaseViewSpec (1.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class DatabaseViewSpec.
Specification that applies to database view.
Generated from protobuf message google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec
Namespace
Google \ Cloud \ DataCatalog \ V1 \ DatabaseTableSpecMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ view_type |
int
Type of this view. |
↳ base_table |
string
Name of a singular table this view reflects one to one. |
↳ sql_query |
string
SQL query used to generate this view. |
getViewType
Type of this view.
| Returns | |
|---|---|
| Type | Description |
int |
|
setViewType
Type of this view.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBaseTable
Name of a singular table this view reflects one to one.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasBaseTable
setBaseTable
Name of a singular table this view reflects one to one.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSqlQuery
SQL query used to generate this view.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasSqlQuery
setSqlQuery
SQL query used to generate this view.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceDefinition
| Returns | |
|---|---|
| Type | Description |
string |
|