Interface DatabaseTableSpec.DatabaseViewSpecOrBuilder (1.21.0)

public static interface DatabaseTableSpec.DatabaseViewSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBaseTable()

public abstract String getBaseTable()

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

string base_table = 2;

Returns
TypeDescription
String

The baseTable.

getBaseTableBytes()

public abstract ByteString getBaseTableBytes()

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

string base_table = 2;

Returns
TypeDescription
ByteString

The bytes for baseTable.

getSourceDefinitionCase()

public abstract DatabaseTableSpec.DatabaseViewSpec.SourceDefinitionCase getSourceDefinitionCase()
Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec.SourceDefinitionCase

getSqlQuery()

public abstract String getSqlQuery()

SQL query used to generate this view.

string sql_query = 3;

Returns
TypeDescription
String

The sqlQuery.

getSqlQueryBytes()

public abstract ByteString getSqlQueryBytes()

SQL query used to generate this view.

string sql_query = 3;

Returns
TypeDescription
ByteString

The bytes for sqlQuery.

getViewType()

public abstract DatabaseTableSpec.DatabaseViewSpec.ViewType getViewType()

Type of this view.

.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1;

Returns
TypeDescription
DatabaseTableSpec.DatabaseViewSpec.ViewType

The viewType.

getViewTypeValue()

public abstract int getViewTypeValue()

Type of this view.

.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec.ViewType view_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for viewType.

hasBaseTable()

public abstract boolean hasBaseTable()

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

string base_table = 2;

Returns
TypeDescription
boolean

Whether the baseTable field is set.

hasSqlQuery()

public abstract boolean hasSqlQuery()

SQL query used to generate this view.

string sql_query = 3;

Returns
TypeDescription
boolean

Whether the sqlQuery field is set.