Google Cloud Data Catalog V1 Client - Class DatabaseViewSpec (1.9.1)

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 \ DatabaseTableSpec

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setViewType

Type of this view.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getBaseTable

Name of a singular table this view reflects one to one.

Returns
TypeDescription
string

hasBaseTable

setBaseTable

Name of a singular table this view reflects one to one.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSqlQuery

SQL query used to generate this view.

Returns
TypeDescription
string

hasSqlQuery

setSqlQuery

SQL query used to generate this view.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceDefinition

Returns
TypeDescription
string