Class BigQueryDataSourceSpecBuilder

BigQueryDataSourceSpecBuilder

The builder for BigQueryDataSourceSpecBuilder.

Methods

MethodReturn typeBrief description
build()DataSourceSpecBuilds a data source specification from the settings in this builder.
copy()DataSourceSpecBuilderCreates a DataSourceSpecBuilder based on this data source's settings.
getParameters()DataSourceParameter[]Gets the parameters of the data source.
getProjectId()StringGets the billing project ID.
getRawQuery()StringGets the raw query string.
getType()DataSourceTypeGets the type of the data source.
removeAllParameters()BigQueryDataSourceSpecBuilderRemoves all the parameters.
removeParameter(parameterName)BigQueryDataSourceSpecBuilderRemoves the specified parameter.
setParameterFromCell(parameterName, sourceCell)BigQueryDataSourceSpecBuilderAdds a parameter, or if the parameter with the name exists, updates its source cell.
setProjectId(projectId)BigQueryDataSourceSpecBuilderSets the billing BigQuery project ID.
setRawQuery(rawQuery)BigQueryDataSourceSpecBuilderSets the raw query string.

Detailed documentation

build()

Builds a data source specification from the settings in this builder. Must use as...() to specify a data source type before building.

Return

DataSourceSpec — The data source specification.


copy()

Creates a DataSourceSpecBuilder based on this data source's settings.

Return

DataSourceSpecBuilder — The builder.


getParameters()

Gets the parameters of the data source.

Return

DataSourceParameter[] — The parameter list.


getProjectId()

Gets the billing project ID.

Return

String — The project ID.


getRawQuery()

Gets the raw query string.

Return

String — The raw query string.


getType()

Gets the type of the data source.

Return

DataSourceType — The data source type.


removeAllParameters()

Removes all the parameters.

Return

BigQueryDataSourceSpecBuilder — The builder, for chaining.


removeParameter(parameterName)

Removes the specified parameter.

Parameters

NameTypeDescription
parameterNameStringThe name of the parameter to remove.

Return

BigQueryDataSourceSpecBuilder — The builder, for chaining.


setParameterFromCell(parameterName, sourceCell)

Adds a parameter, or if the parameter with the name exists, updates its source cell.

Parameters

NameTypeDescription
parameterNameStringThe parameter name.
sourceCellStringThe source cell, as specified in A1 notation.

Return

BigQueryDataSourceSpecBuilder — The builder, for chaining.


setProjectId(projectId)

Sets the billing BigQuery project ID.

Parameters

NameTypeDescription
projectIdStringThe ID of the billing project.

Return

BigQueryDataSourceSpecBuilder — The builder, for chaining.


setRawQuery(rawQuery)

Sets the raw query string.

Parameters

NameTypeDescription
rawQueryStringThe raw query string.

Return

BigQueryDataSourceSpecBuilder — The builder, for chaining.

Enviar comentarios sobre…

¿Necesitas ayuda? Visita nuestra página de asistencia.