bigquery  v2
Public Member Functions | Static Public Member Functions | List of all members
google_bigquery_api::JobConfigurationQuery Class Reference

#include <job_configuration_query.h>

Inheritance diagram for google_bigquery_api::JobConfigurationQuery:

Public Member Functions

 JobConfigurationQuery (const Json::Value &storage)
 
 JobConfigurationQuery (Json::Value *storage)
 
virtual ~JobConfigurationQuery ()
 
const StringPiece GetTypeName () const
 
bool has_allow_large_results () const
 
void clear_allow_large_results ()
 
bool get_allow_large_results () const
 
void set_allow_large_results (bool value)
 
bool has_clustering () const
 
void clear_clustering ()
 
const Clustering get_clustering () const
 
Clustering mutable_clustering ()
 
bool has_create_disposition () const
 
void clear_create_disposition ()
 
const StringPiece get_create_disposition () const
 
void set_create_disposition (const StringPiece &value)
 
bool has_default_dataset () const
 
void clear_default_dataset ()
 
const DatasetReference get_default_dataset () const
 
DatasetReference mutable_defaultDataset ()
 
bool has_destination_encryption_configuration () const
 
void clear_destination_encryption_configuration ()
 
const EncryptionConfiguration get_destination_encryption_configuration () const
 
EncryptionConfiguration mutable_destinationEncryptionConfiguration ()
 
bool has_destination_table () const
 
void clear_destination_table ()
 
const TableReference get_destination_table () const
 
TableReference mutable_destinationTable ()
 
bool has_flatten_results () const
 
void clear_flatten_results ()
 
bool get_flatten_results () const
 
void set_flatten_results (bool value)
 
bool has_maximum_billing_tier () const
 
void clear_maximum_billing_tier ()
 
int32 get_maximum_billing_tier () const
 
void set_maximum_billing_tier (int32 value)
 
bool has_maximum_bytes_billed () const
 
void clear_maximum_bytes_billed ()
 
int64 get_maximum_bytes_billed () const
 
void set_maximum_bytes_billed (int64 value)
 
bool has_parameter_mode () const
 
void clear_parameter_mode ()
 
const StringPiece get_parameter_mode () const
 
void set_parameter_mode (const StringPiece &value)
 
bool has_preserve_nulls () const
 
void clear_preserve_nulls ()
 
bool get_preserve_nulls () const
 
void set_preserve_nulls (bool value)
 
bool has_priority () const
 
void clear_priority ()
 
const StringPiece get_priority () const
 
void set_priority (const StringPiece &value)
 
bool has_query () const
 
void clear_query ()
 
const StringPiece get_query () const
 
void set_query (const StringPiece &value)
 
bool has_query_parameters () const
 
void clear_query_parameters ()
 
const client::JsonCppArray< QueryParameterget_query_parameters () const
 
client::JsonCppArray< QueryParametermutable_queryParameters ()
 
bool has_range_partitioning () const
 
void clear_range_partitioning ()
 
const RangePartitioning get_range_partitioning () const
 
RangePartitioning mutable_rangePartitioning ()
 
bool has_schema_update_options () const
 
void clear_schema_update_options ()
 
const client::JsonCppArray< string > get_schema_update_options () const
 
client::JsonCppArray< string > mutable_schemaUpdateOptions ()
 
bool has_table_definitions () const
 
void clear_table_definitions ()
 
const client::JsonCppAssociativeArray< ExternalDataConfigurationget_table_definitions () const
 
client::JsonCppAssociativeArray< ExternalDataConfigurationmutable_tableDefinitions ()
 
bool has_time_partitioning () const
 
void clear_time_partitioning ()
 
const TimePartitioning get_time_partitioning () const
 
TimePartitioning mutable_timePartitioning ()
 
bool has_use_legacy_sql () const
 
void clear_use_legacy_sql ()
 
bool get_use_legacy_sql () const
 
void set_use_legacy_sql (bool value)
 
bool has_use_query_cache () const
 
void clear_use_query_cache ()
 
bool get_use_query_cache () const
 
void set_use_query_cache (bool value)
 
bool has_user_defined_function_resources () const
 
void clear_user_defined_function_resources ()
 
const client::JsonCppArray< UserDefinedFunctionResourceget_user_defined_function_resources () const
 
client::JsonCppArray< UserDefinedFunctionResourcemutable_userDefinedFunctionResources ()
 
bool has_write_disposition () const
 
void clear_write_disposition ()
 
const StringPiece get_write_disposition () const
 
void set_write_disposition (const StringPiece &value)
 

Static Public Member Functions

static JobConfigurationQueryNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ JobConfigurationQuery() [1/2]

google_bigquery_api::JobConfigurationQuery::JobConfigurationQuery ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ JobConfigurationQuery() [2/2]

google_bigquery_api::JobConfigurationQuery::JobConfigurationQuery ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~JobConfigurationQuery()

google_bigquery_api::JobConfigurationQuery::~JobConfigurationQuery ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_allow_large_results()

void google_bigquery_api::JobConfigurationQuery::clear_allow_large_results ( )
inline

Clears the 'allowLargeResults' attribute.

◆ clear_clustering()

void google_bigquery_api::JobConfigurationQuery::clear_clustering ( )
inline

Clears the 'clustering' attribute.

◆ clear_create_disposition()

void google_bigquery_api::JobConfigurationQuery::clear_create_disposition ( )
inline

Clears the 'createDisposition' attribute.

◆ clear_default_dataset()

void google_bigquery_api::JobConfigurationQuery::clear_default_dataset ( )
inline

Clears the 'defaultDataset' attribute.

◆ clear_destination_encryption_configuration()

void google_bigquery_api::JobConfigurationQuery::clear_destination_encryption_configuration ( )
inline

Clears the 'destinationEncryptionConfiguration' attribute.

◆ clear_destination_table()

void google_bigquery_api::JobConfigurationQuery::clear_destination_table ( )
inline

Clears the 'destinationTable' attribute.

◆ clear_flatten_results()

void google_bigquery_api::JobConfigurationQuery::clear_flatten_results ( )
inline

Clears the 'flattenResults' attribute.

◆ clear_maximum_billing_tier()

void google_bigquery_api::JobConfigurationQuery::clear_maximum_billing_tier ( )
inline

Clears the 'maximumBillingTier' attribute.

◆ clear_maximum_bytes_billed()

void google_bigquery_api::JobConfigurationQuery::clear_maximum_bytes_billed ( )
inline

Clears the 'maximumBytesBilled' attribute.

◆ clear_parameter_mode()

void google_bigquery_api::JobConfigurationQuery::clear_parameter_mode ( )
inline

Clears the 'parameterMode' attribute.

◆ clear_preserve_nulls()

void google_bigquery_api::JobConfigurationQuery::clear_preserve_nulls ( )
inline

Clears the 'preserveNulls' attribute.

◆ clear_priority()

void google_bigquery_api::JobConfigurationQuery::clear_priority ( )
inline

Clears the 'priority' attribute.

◆ clear_query()

void google_bigquery_api::JobConfigurationQuery::clear_query ( )
inline

Clears the 'query' attribute.

◆ clear_query_parameters()

void google_bigquery_api::JobConfigurationQuery::clear_query_parameters ( )
inline

Clears the 'queryParameters' attribute.

◆ clear_range_partitioning()

void google_bigquery_api::JobConfigurationQuery::clear_range_partitioning ( )
inline

Clears the 'rangePartitioning' attribute.

◆ clear_schema_update_options()

void google_bigquery_api::JobConfigurationQuery::clear_schema_update_options ( )
inline

Clears the 'schemaUpdateOptions' attribute.

◆ clear_table_definitions()

void google_bigquery_api::JobConfigurationQuery::clear_table_definitions ( )
inline

Clears the 'tableDefinitions' attribute.

◆ clear_time_partitioning()

void google_bigquery_api::JobConfigurationQuery::clear_time_partitioning ( )
inline

Clears the 'timePartitioning' attribute.

◆ clear_use_legacy_sql()

void google_bigquery_api::JobConfigurationQuery::clear_use_legacy_sql ( )
inline

Clears the 'useLegacySql' attribute.

◆ clear_use_query_cache()

void google_bigquery_api::JobConfigurationQuery::clear_use_query_cache ( )
inline

Clears the 'useQueryCache' attribute.

◆ clear_user_defined_function_resources()

void google_bigquery_api::JobConfigurationQuery::clear_user_defined_function_resources ( )
inline

Clears the 'userDefinedFunctionResources' attribute.

◆ clear_write_disposition()

void google_bigquery_api::JobConfigurationQuery::clear_write_disposition ( )
inline

Clears the 'writeDisposition' attribute.

◆ get_allow_large_results()

bool google_bigquery_api::JobConfigurationQuery::get_allow_large_results ( ) const
inline

Get the value of the 'allowLargeResults' attribute.

◆ get_clustering()

const Clustering google_bigquery_api::JobConfigurationQuery::get_clustering ( ) const

Get a reference to the value of the 'clustering' attribute.

◆ get_create_disposition()

const StringPiece google_bigquery_api::JobConfigurationQuery::get_create_disposition ( ) const
inline

Get the value of the 'createDisposition' attribute.

◆ get_default_dataset()

const DatasetReference google_bigquery_api::JobConfigurationQuery::get_default_dataset ( ) const

Get a reference to the value of the 'defaultDataset' attribute.

◆ get_destination_encryption_configuration()

const EncryptionConfiguration google_bigquery_api::JobConfigurationQuery::get_destination_encryption_configuration ( ) const

Get a reference to the value of the 'destinationEncryptionConfiguration' attribute.

◆ get_destination_table()

const TableReference google_bigquery_api::JobConfigurationQuery::get_destination_table ( ) const

Get a reference to the value of the 'destinationTable' attribute.

◆ get_flatten_results()

bool google_bigquery_api::JobConfigurationQuery::get_flatten_results ( ) const
inline

Get the value of the 'flattenResults' attribute.

◆ get_maximum_billing_tier()

int32 google_bigquery_api::JobConfigurationQuery::get_maximum_billing_tier ( ) const
inline

Get the value of the 'maximumBillingTier' attribute.

◆ get_maximum_bytes_billed()

int64 google_bigquery_api::JobConfigurationQuery::get_maximum_bytes_billed ( ) const
inline

Get the value of the 'maximumBytesBilled' attribute.

◆ get_parameter_mode()

const StringPiece google_bigquery_api::JobConfigurationQuery::get_parameter_mode ( ) const
inline

Get the value of the 'parameterMode' attribute.

◆ get_preserve_nulls()

bool google_bigquery_api::JobConfigurationQuery::get_preserve_nulls ( ) const
inline

Get the value of the 'preserveNulls' attribute.

◆ get_priority()

const StringPiece google_bigquery_api::JobConfigurationQuery::get_priority ( ) const
inline

Get the value of the 'priority' attribute.

◆ get_query()

const StringPiece google_bigquery_api::JobConfigurationQuery::get_query ( ) const
inline

Get the value of the 'query' attribute.

◆ get_query_parameters()

const client::JsonCppArray<QueryParameter > google_bigquery_api::JobConfigurationQuery::get_query_parameters ( ) const

Get a reference to the value of the 'queryParameters' attribute.

◆ get_range_partitioning()

const RangePartitioning google_bigquery_api::JobConfigurationQuery::get_range_partitioning ( ) const

Get a reference to the value of the 'rangePartitioning' attribute.

◆ get_schema_update_options()

const client::JsonCppArray<string > google_bigquery_api::JobConfigurationQuery::get_schema_update_options ( ) const
inline

Get a reference to the value of the 'schemaUpdateOptions' attribute.

◆ get_table_definitions()

const client::JsonCppAssociativeArray<ExternalDataConfiguration > google_bigquery_api::JobConfigurationQuery::get_table_definitions ( ) const

Get a reference to the value of the 'tableDefinitions' attribute.

◆ get_time_partitioning()

const TimePartitioning google_bigquery_api::JobConfigurationQuery::get_time_partitioning ( ) const

Get a reference to the value of the 'timePartitioning' attribute.

◆ get_use_legacy_sql()

bool google_bigquery_api::JobConfigurationQuery::get_use_legacy_sql ( ) const
inline

Get the value of the 'useLegacySql' attribute.

◆ get_use_query_cache()

bool google_bigquery_api::JobConfigurationQuery::get_use_query_cache ( ) const
inline

Get the value of the 'useQueryCache' attribute.

◆ get_user_defined_function_resources()

const client::JsonCppArray<UserDefinedFunctionResource > google_bigquery_api::JobConfigurationQuery::get_user_defined_function_resources ( ) const

Get a reference to the value of the 'userDefinedFunctionResources' attribute.

◆ get_write_disposition()

const StringPiece google_bigquery_api::JobConfigurationQuery::get_write_disposition ( ) const
inline

Get the value of the 'writeDisposition' attribute.

◆ GetTypeName()

const StringPiece google_bigquery_api::JobConfigurationQuery::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::JobConfigurationQuery

◆ has_allow_large_results()

bool google_bigquery_api::JobConfigurationQuery::has_allow_large_results ( ) const
inline

Determine if the 'allowLargeResults' attribute was set.

Returns
true if the 'allowLargeResults' attribute was set.

◆ has_clustering()

bool google_bigquery_api::JobConfigurationQuery::has_clustering ( ) const
inline

Determine if the 'clustering' attribute was set.

Returns
true if the 'clustering' attribute was set.

◆ has_create_disposition()

bool google_bigquery_api::JobConfigurationQuery::has_create_disposition ( ) const
inline

Determine if the 'createDisposition' attribute was set.

Returns
true if the 'createDisposition' attribute was set.

◆ has_default_dataset()

bool google_bigquery_api::JobConfigurationQuery::has_default_dataset ( ) const
inline

Determine if the 'defaultDataset' attribute was set.

Returns
true if the 'defaultDataset' attribute was set.

◆ has_destination_encryption_configuration()

bool google_bigquery_api::JobConfigurationQuery::has_destination_encryption_configuration ( ) const
inline

Determine if the 'destinationEncryptionConfiguration' attribute was set.

Returns
true if the 'destinationEncryptionConfiguration' attribute was set.

◆ has_destination_table()

bool google_bigquery_api::JobConfigurationQuery::has_destination_table ( ) const
inline

Determine if the 'destinationTable' attribute was set.

Returns
true if the 'destinationTable' attribute was set.

◆ has_flatten_results()

bool google_bigquery_api::JobConfigurationQuery::has_flatten_results ( ) const
inline

Determine if the 'flattenResults' attribute was set.

Returns
true if the 'flattenResults' attribute was set.

◆ has_maximum_billing_tier()

bool google_bigquery_api::JobConfigurationQuery::has_maximum_billing_tier ( ) const
inline

Determine if the 'maximumBillingTier' attribute was set.

Returns
true if the 'maximumBillingTier' attribute was set.

◆ has_maximum_bytes_billed()

bool google_bigquery_api::JobConfigurationQuery::has_maximum_bytes_billed ( ) const
inline

Determine if the 'maximumBytesBilled' attribute was set.

Returns
true if the 'maximumBytesBilled' attribute was set.

◆ has_parameter_mode()

bool google_bigquery_api::JobConfigurationQuery::has_parameter_mode ( ) const
inline

Determine if the 'parameterMode' attribute was set.

Returns
true if the 'parameterMode' attribute was set.

◆ has_preserve_nulls()

bool google_bigquery_api::JobConfigurationQuery::has_preserve_nulls ( ) const
inline

Determine if the 'preserveNulls' attribute was set.

Returns
true if the 'preserveNulls' attribute was set.

◆ has_priority()

bool google_bigquery_api::JobConfigurationQuery::has_priority ( ) const
inline

Determine if the 'priority' attribute was set.

Returns
true if the 'priority' attribute was set.

◆ has_query()

bool google_bigquery_api::JobConfigurationQuery::has_query ( ) const
inline

Determine if the 'query' attribute was set.

Returns
true if the 'query' attribute was set.

◆ has_query_parameters()

bool google_bigquery_api::JobConfigurationQuery::has_query_parameters ( ) const
inline

Determine if the 'queryParameters' attribute was set.

Returns
true if the 'queryParameters' attribute was set.

◆ has_range_partitioning()

bool google_bigquery_api::JobConfigurationQuery::has_range_partitioning ( ) const
inline

Determine if the 'rangePartitioning' attribute was set.

Returns
true if the 'rangePartitioning' attribute was set.

◆ has_schema_update_options()

bool google_bigquery_api::JobConfigurationQuery::has_schema_update_options ( ) const
inline

Determine if the 'schemaUpdateOptions' attribute was set.

Returns
true if the 'schemaUpdateOptions' attribute was set.

◆ has_table_definitions()

bool google_bigquery_api::JobConfigurationQuery::has_table_definitions ( ) const
inline

Determine if the 'tableDefinitions' attribute was set.

Returns
true if the 'tableDefinitions' attribute was set.

◆ has_time_partitioning()

bool google_bigquery_api::JobConfigurationQuery::has_time_partitioning ( ) const
inline

Determine if the 'timePartitioning' attribute was set.

Returns
true if the 'timePartitioning' attribute was set.

◆ has_use_legacy_sql()

bool google_bigquery_api::JobConfigurationQuery::has_use_legacy_sql ( ) const
inline

Determine if the 'useLegacySql' attribute was set.

Returns
true if the 'useLegacySql' attribute was set.

◆ has_use_query_cache()

bool google_bigquery_api::JobConfigurationQuery::has_use_query_cache ( ) const
inline

Determine if the 'useQueryCache' attribute was set.

Returns
true if the 'useQueryCache' attribute was set.

◆ has_user_defined_function_resources()

bool google_bigquery_api::JobConfigurationQuery::has_user_defined_function_resources ( ) const
inline

Determine if the 'userDefinedFunctionResources' attribute was set.

Returns
true if the 'userDefinedFunctionResources' attribute was set.

◆ has_write_disposition()

bool google_bigquery_api::JobConfigurationQuery::has_write_disposition ( ) const
inline

Determine if the 'writeDisposition' attribute was set.

Returns
true if the 'writeDisposition' attribute was set.

◆ mutable_clustering()

Clustering google_bigquery_api::JobConfigurationQuery::mutable_clustering ( )

Gets a reference to a mutable value of the 'clustering' property.

[Beta] Clustering specification for the destination table. Must be specified with time-based partitioning, data in the table will be first partitioned and subsequently clustered.

Returns
The result can be modified to change the attribute value.

◆ mutable_defaultDataset()

DatasetReference google_bigquery_api::JobConfigurationQuery::mutable_defaultDataset ( )

Gets a reference to a mutable value of the 'defaultDataset' property.

[Optional] Specifies the default dataset to use for unqualified table names in the query. Note that this does not alter behavior of unqualified dataset names.

Returns
The result can be modified to change the attribute value.

◆ mutable_destinationEncryptionConfiguration()

EncryptionConfiguration google_bigquery_api::JobConfigurationQuery::mutable_destinationEncryptionConfiguration ( )

Gets a reference to a mutable value of the 'destinationEncryptionConfiguration' property.

Custom encryption configuration (e.g., Cloud KMS keys).

Returns
The result can be modified to change the attribute value.

◆ mutable_destinationTable()

TableReference google_bigquery_api::JobConfigurationQuery::mutable_destinationTable ( )

Gets a reference to a mutable value of the 'destinationTable' property.

[Optional] Describes the table where the query results should be stored. If not present, a new table will be created to store the results. This property must be set for large results that exceed the maximum response size.

Returns
The result can be modified to change the attribute value.

◆ mutable_queryParameters()

client::JsonCppArray<QueryParameter > google_bigquery_api::JobConfigurationQuery::mutable_queryParameters ( )

Gets a reference to a mutable value of the 'queryParameters' property.

Query parameters for standard SQL queries.

Returns
The result can be modified to change the attribute value.

◆ mutable_rangePartitioning()

RangePartitioning google_bigquery_api::JobConfigurationQuery::mutable_rangePartitioning ( )

Gets a reference to a mutable value of the 'rangePartitioning' property.

[TrustedTester] Range partitioning specification for this table. Only one of timePartitioning and rangePartitioning should be specified.

Returns
The result can be modified to change the attribute value.

◆ mutable_schemaUpdateOptions()

client::JsonCppArray<string > google_bigquery_api::JobConfigurationQuery::mutable_schemaUpdateOptions ( )
inline

Gets a reference to a mutable value of the 'schemaUpdateOptions' property.

Allows the schema of the destination table to be updated as a side effect of the query job. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.

Returns
The result can be modified to change the attribute value.

◆ mutable_tableDefinitions()

client::JsonCppAssociativeArray<ExternalDataConfiguration > google_bigquery_api::JobConfigurationQuery::mutable_tableDefinitions ( )

Gets a reference to a mutable value of the 'tableDefinitions' property.

[Optional] If querying an external data source outside of BigQuery, describes the data format, location and other properties of the data source. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.

Returns
The result can be modified to change the attribute value.

◆ mutable_timePartitioning()

TimePartitioning google_bigquery_api::JobConfigurationQuery::mutable_timePartitioning ( )

Gets a reference to a mutable value of the 'timePartitioning' property.

Time-based partitioning specification for the destination table. Only one of timePartitioning and rangePartitioning should be specified.

Returns
The result can be modified to change the attribute value.

◆ mutable_userDefinedFunctionResources()

client::JsonCppArray<UserDefinedFunctionResource > google_bigquery_api::JobConfigurationQuery::mutable_userDefinedFunctionResources ( )

Gets a reference to a mutable value of the 'userDefinedFunctionResources' property.

Describes user-defined function resources used in the query.

Returns
The result can be modified to change the attribute value.

◆ New()

JobConfigurationQuery * google_bigquery_api::JobConfigurationQuery::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_allow_large_results()

void google_bigquery_api::JobConfigurationQuery::set_allow_large_results ( bool  value)
inline

Change the 'allowLargeResults' attribute.

[Optional] If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed. However, you must still set destinationTable when result size exceeds the allowed maximum response size.

Parameters
[in]valueThe new value.

◆ set_create_disposition()

void google_bigquery_api::JobConfigurationQuery::set_create_disposition ( const StringPiece &  value)
inline

Change the 'createDisposition' attribute.

[Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.

Parameters
[in]valueThe new value.

◆ set_flatten_results()

void google_bigquery_api::JobConfigurationQuery::set_flatten_results ( bool  value)
inline

Change the 'flattenResults' attribute.

[Optional] If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results. allowLargeResults must be true if this is set to false. For standard SQL queries, this flag is ignored and results are never flattened.

Parameters
[in]valueThe new value.

◆ set_maximum_billing_tier()

void google_bigquery_api::JobConfigurationQuery::set_maximum_billing_tier ( int32  value)
inline

Change the 'maximumBillingTier' attribute.

[Optional] Limits the billing tier for this job. Queries that have resource usage beyond this tier will fail (without incurring a charge). If unspecified, this will be set to your project default.

Parameters
[in]valueThe new value.

◆ set_maximum_bytes_billed()

void google_bigquery_api::JobConfigurationQuery::set_maximum_bytes_billed ( int64  value)
inline

Change the 'maximumBytesBilled' attribute.

[Optional] Limits the bytes billed for this job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, this will be set to your project default.

Parameters
[in]valueThe new value.

◆ set_parameter_mode()

void google_bigquery_api::JobConfigurationQuery::set_parameter_mode ( const StringPiece &  value)
inline

Change the 'parameterMode' attribute.

Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named () query parameters in this query.

Parameters
[in]valueThe new value.

◆ set_preserve_nulls()

void google_bigquery_api::JobConfigurationQuery::set_preserve_nulls ( bool  value)
inline

Change the 'preserveNulls' attribute.

Deprecated:

[Deprecated] This property is deprecated.

Parameters
[in]valueThe new value.

◆ set_priority()

void google_bigquery_api::JobConfigurationQuery::set_priority ( const StringPiece &  value)
inline

Change the 'priority' attribute.

[Optional] Specifies a priority for the query. Possible values include INTERACTIVE and BATCH. The default value is INTERACTIVE.

Parameters
[in]valueThe new value.

◆ set_query()

void google_bigquery_api::JobConfigurationQuery::set_query ( const StringPiece &  value)
inline

Change the 'query' attribute.

[Required] SQL query text to execute. The useLegacySql field can be used to indicate whether the query uses legacy SQL or standard SQL.

Parameters
[in]valueThe new value.

◆ set_use_legacy_sql()

void google_bigquery_api::JobConfigurationQuery::set_use_legacy_sql ( bool  value)
inline

Change the 'useLegacySql' attribute.

Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set to false, the value of flattenResults is ignored; query will be run as if flattenResults is false.

Parameters
[in]valueThe new value.

◆ set_use_query_cache()

void google_bigquery_api::JobConfigurationQuery::set_use_query_cache ( bool  value)
inline

Change the 'useQueryCache' attribute.

[Optional] Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified. The default value is true.

Parameters
[in]valueThe new value.

◆ set_write_disposition()

void google_bigquery_api::JobConfigurationQuery::set_write_disposition ( const StringPiece &  value)
inline

Change the 'writeDisposition' attribute.

[Optional] Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: