Interface SourceEnvironmentOrBuilder (0.55.0)

public interface SourceEnvironmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDefaultDatabase()

public abstract String getDefaultDatabase()

The default database name to fully qualify SQL objects when their database name is missing.

string default_database = 1;

Returns
Type Description
String

The defaultDatabase.

getDefaultDatabaseBytes()

public abstract ByteString getDefaultDatabaseBytes()

The default database name to fully qualify SQL objects when their database name is missing.

string default_database = 1;

Returns
Type Description
ByteString

The bytes for defaultDatabase.

getMetadataStoreDataset()

public abstract String getMetadataStoreDataset()

Optional. Expects a validQ BigQuery dataset ID that exists, e.g., project-123.metadata_store_123. If specified, translation will search and read the required schema information from a metadata store in this dataset. If metadata store doesn't exist, translation will parse the metadata file and upload the schema info to a temp table in the dataset to speed up future translation jobs.

string metadata_store_dataset = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The metadataStoreDataset.

getMetadataStoreDatasetBytes()

public abstract ByteString getMetadataStoreDatasetBytes()

Optional. Expects a validQ BigQuery dataset ID that exists, e.g., project-123.metadata_store_123. If specified, translation will search and read the required schema information from a metadata store in this dataset. If metadata store doesn't exist, translation will parse the metadata file and upload the schema info to a temp table in the dataset to speed up future translation jobs.

string metadata_store_dataset = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for metadataStoreDataset.

getSchemaSearchPath(int index)

public abstract String getSchemaSearchPath(int index)

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The schemaSearchPath at the given index.

getSchemaSearchPathBytes(int index)

public abstract ByteString getSchemaSearchPathBytes(int index)

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the schemaSearchPath at the given index.

getSchemaSearchPathCount()

public abstract int getSchemaSearchPathCount()

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Returns
Type Description
int

The count of schemaSearchPath.

getSchemaSearchPathList()

public abstract List<String> getSchemaSearchPathList()

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Returns
Type Description
List<String>

A list containing the schemaSearchPath.