Package | Description |
---|---|
com.google.cloud.bigquery |
A client for BigQuery – A fully managed, petabyte scale, low cost enterprise data warehouse for
analytics.
|
Modifier and Type | Method and Description |
---|---|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.addNamedParameter(String name,
QueryParameterValue value)
Adds a named query parameter to the set of query parameters.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.addPositionalParameter(QueryParameterValue value)
Adds a positional query parameter to the list of query parameters.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.addTableDefinition(String tableName,
ExternalTableDefinition tableDefinition)
Adds a new external table definition.
|
static QueryJobConfiguration.Builder |
QueryJobConfiguration.newBuilder(String query)
Creates a builder for a BigQuery Query Job given the query to be run.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setAllowLargeResults(Boolean allowLargeResults)
Sets whether the job is enabled to create arbitrarily large results.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setClustering(Clustering clustering)
Sets the clustering specification for the destination table.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setConnectionProperties(List<ConnectionProperty> connectionProperties)
A connection-level property to customize query behavior.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setCreateDisposition(JobInfo.CreateDisposition createDisposition)
Sets whether the job is allowed to create tables.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setCreateSession(Boolean createSession)
Sets whether to create a new session.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setDefaultDataset(DatasetId defaultDataset)
Sets the default dataset.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setDefaultDataset(String defaultDataset)
Sets the default dataset.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setDestinationEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration) |
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setDestinationTable(TableId destinationTable)
Sets the table where to put query results.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setDryRun(Boolean dryRun)
Sets whether the job has to be dry run or not.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setFlattenResults(Boolean flattenResults)
Sets whether nested and repeated fields should be flattened.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setJobTimeoutMs(Long jobTimeoutMs)
[Optional] Job timeout in milliseconds.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setLabels(Map<String,String> labels)
The labels associated with this job.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setMaximumBillingTier(Integer maximumBillingTier)
Limits the billing tier for this job.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setMaximumBytesBilled(Long maximumBytesBilled)
Limits the bytes billed for this job.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setMaxResults(Long maxResults)
This is only supported in the fast query path [Optional] The maximum number of rows of data
to return per page of results.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setNamedParameters(Map<String,QueryParameterValue> values)
Sets the query parameters to a set of named query parameters to use in the query.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setParameterMode(String parameterMode)
Standard SQL only.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setPositionalParameters(Iterable<QueryParameterValue> values)
Sets the query parameters to a list of positional query parameters to use in the query.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setPriority(QueryJobConfiguration.Priority priority)
Sets a priority for the query.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setQuery(String query)
Sets the BigQuery SQL query to execute.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setRangePartitioning(RangePartitioning rangePartitioning)
Range partitioning specification for this table.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setSchemaUpdateOptions(List<JobInfo.SchemaUpdateOption> schemaUpdateOptions)
[Experimental] Sets options allowing the schema of the destination table to be updated as a
side effect of the query job.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setTableDefinitions(Map<String,ExternalTableDefinition> tableDefinitions)
Sets the external tables definitions.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setTimePartitioning(TimePartitioning timePartitioning)
Sets the time partitioning specification for the destination table.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setUseLegacySql(Boolean useLegacySql)
Sets whether to use BigQuery's legacy SQL dialect for this query.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setUseQueryCache(Boolean useQueryCache)
Sets whether to look for the result in the query cache.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setUserDefinedFunctions(List<UserDefinedFunction> userDefinedFunctions)
Sets user defined function resources that can be used by this query.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.Builder.setWriteDisposition(JobInfo.WriteDisposition writeDisposition)
Sets the action that should occur if the destination table already exists.
|
QueryJobConfiguration.Builder |
QueryJobConfiguration.toBuilder() |
Copyright © 2023 Google LLC. All rights reserved.