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

#include <job_configuration_load.h>

Inheritance diagram for google_bigquery_api::JobConfigurationLoad:

Public Member Functions

 JobConfigurationLoad (const Json::Value &storage)
 
 JobConfigurationLoad (Json::Value *storage)
 
virtual ~JobConfigurationLoad ()
 
const StringPiece GetTypeName () const
 
bool has_allow_jagged_rows () const
 
void clear_allow_jagged_rows ()
 
bool get_allow_jagged_rows () const
 
void set_allow_jagged_rows (bool value)
 
bool has_allow_quoted_newlines () const
 
void clear_allow_quoted_newlines ()
 
bool get_allow_quoted_newlines () const
 
void set_allow_quoted_newlines (bool value)
 
bool has_autodetect () const
 
void clear_autodetect ()
 
bool get_autodetect () const
 
void set_autodetect (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_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_destination_table_properties () const
 
void clear_destination_table_properties ()
 
const DestinationTableProperties get_destination_table_properties () const
 
DestinationTableProperties mutable_destinationTableProperties ()
 
bool has_encoding () const
 
void clear_encoding ()
 
const StringPiece get_encoding () const
 
void set_encoding (const StringPiece &value)
 
bool has_field_delimiter () const
 
void clear_field_delimiter ()
 
const StringPiece get_field_delimiter () const
 
void set_field_delimiter (const StringPiece &value)
 
bool has_hive_partitioning_mode () const
 
void clear_hive_partitioning_mode ()
 
const StringPiece get_hive_partitioning_mode () const
 
void set_hive_partitioning_mode (const StringPiece &value)
 
bool has_hive_partitioning_options () const
 
void clear_hive_partitioning_options ()
 
const HivePartitioningOptions get_hive_partitioning_options () const
 
HivePartitioningOptions mutable_hivePartitioningOptions ()
 
bool has_ignore_unknown_values () const
 
void clear_ignore_unknown_values ()
 
bool get_ignore_unknown_values () const
 
void set_ignore_unknown_values (bool value)
 
bool has_max_bad_records () const
 
void clear_max_bad_records ()
 
int32 get_max_bad_records () const
 
void set_max_bad_records (int32 value)
 
bool has_null_marker () const
 
void clear_null_marker ()
 
const StringPiece get_null_marker () const
 
void set_null_marker (const StringPiece &value)
 
bool has_projection_fields () const
 
void clear_projection_fields ()
 
const client::JsonCppArray< string > get_projection_fields () const
 
client::JsonCppArray< string > mutable_projectionFields ()
 
bool has_quote () const
 
void clear_quote ()
 
const StringPiece get_quote () const
 
void set_quote (const StringPiece &value)
 
bool has_range_partitioning () const
 
void clear_range_partitioning ()
 
const RangePartitioning get_range_partitioning () const
 
RangePartitioning mutable_rangePartitioning ()
 
bool has_schema () const
 
void clear_schema ()
 
const TableSchema get_schema () const
 
TableSchema mutable_schema ()
 
bool has_schema_inline () const
 
void clear_schema_inline ()
 
const StringPiece get_schema_inline () const
 
void set_schema_inline (const StringPiece &value)
 
bool has_schema_inline_format () const
 
void clear_schema_inline_format ()
 
const StringPiece get_schema_inline_format () const
 
void set_schema_inline_format (const StringPiece &value)
 
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_skip_leading_rows () const
 
void clear_skip_leading_rows ()
 
int32 get_skip_leading_rows () const
 
void set_skip_leading_rows (int32 value)
 
bool has_source_format () const
 
void clear_source_format ()
 
const StringPiece get_source_format () const
 
void set_source_format (const StringPiece &value)
 
bool has_source_uris () const
 
void clear_source_uris ()
 
const client::JsonCppArray< string > get_source_uris () const
 
client::JsonCppArray< string > mutable_sourceUris ()
 
bool has_time_partitioning () const
 
void clear_time_partitioning ()
 
const TimePartitioning get_time_partitioning () const
 
TimePartitioning mutable_timePartitioning ()
 
bool has_use_avro_logical_types () const
 
void clear_use_avro_logical_types ()
 
bool get_use_avro_logical_types () const
 
void set_use_avro_logical_types (bool value)
 
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 JobConfigurationLoadNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ JobConfigurationLoad() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ JobConfigurationLoad() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~JobConfigurationLoad()

google_bigquery_api::JobConfigurationLoad::~JobConfigurationLoad ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_allow_jagged_rows()

void google_bigquery_api::JobConfigurationLoad::clear_allow_jagged_rows ( )
inline

Clears the 'allowJaggedRows' attribute.

◆ clear_allow_quoted_newlines()

void google_bigquery_api::JobConfigurationLoad::clear_allow_quoted_newlines ( )
inline

Clears the 'allowQuotedNewlines' attribute.

◆ clear_autodetect()

void google_bigquery_api::JobConfigurationLoad::clear_autodetect ( )
inline

Clears the 'autodetect' attribute.

◆ clear_clustering()

void google_bigquery_api::JobConfigurationLoad::clear_clustering ( )
inline

Clears the 'clustering' attribute.

◆ clear_create_disposition()

void google_bigquery_api::JobConfigurationLoad::clear_create_disposition ( )
inline

Clears the 'createDisposition' attribute.

◆ clear_destination_encryption_configuration()

void google_bigquery_api::JobConfigurationLoad::clear_destination_encryption_configuration ( )
inline

Clears the 'destinationEncryptionConfiguration' attribute.

◆ clear_destination_table()

void google_bigquery_api::JobConfigurationLoad::clear_destination_table ( )
inline

Clears the 'destinationTable' attribute.

◆ clear_destination_table_properties()

void google_bigquery_api::JobConfigurationLoad::clear_destination_table_properties ( )
inline

Clears the 'destinationTableProperties' attribute.

◆ clear_encoding()

void google_bigquery_api::JobConfigurationLoad::clear_encoding ( )
inline

Clears the 'encoding' attribute.

◆ clear_field_delimiter()

void google_bigquery_api::JobConfigurationLoad::clear_field_delimiter ( )
inline

Clears the 'fieldDelimiter' attribute.

◆ clear_hive_partitioning_mode()

void google_bigquery_api::JobConfigurationLoad::clear_hive_partitioning_mode ( )
inline

Clears the 'hivePartitioningMode' attribute.

◆ clear_hive_partitioning_options()

void google_bigquery_api::JobConfigurationLoad::clear_hive_partitioning_options ( )
inline

Clears the 'hivePartitioningOptions' attribute.

◆ clear_ignore_unknown_values()

void google_bigquery_api::JobConfigurationLoad::clear_ignore_unknown_values ( )
inline

Clears the 'ignoreUnknownValues' attribute.

◆ clear_max_bad_records()

void google_bigquery_api::JobConfigurationLoad::clear_max_bad_records ( )
inline

Clears the 'maxBadRecords' attribute.

◆ clear_null_marker()

void google_bigquery_api::JobConfigurationLoad::clear_null_marker ( )
inline

Clears the 'nullMarker' attribute.

◆ clear_projection_fields()

void google_bigquery_api::JobConfigurationLoad::clear_projection_fields ( )
inline

Clears the 'projectionFields' attribute.

◆ clear_quote()

void google_bigquery_api::JobConfigurationLoad::clear_quote ( )
inline

Clears the 'quote' attribute.

◆ clear_range_partitioning()

void google_bigquery_api::JobConfigurationLoad::clear_range_partitioning ( )
inline

Clears the 'rangePartitioning' attribute.

◆ clear_schema()

void google_bigquery_api::JobConfigurationLoad::clear_schema ( )
inline

Clears the 'schema' attribute.

◆ clear_schema_inline()

void google_bigquery_api::JobConfigurationLoad::clear_schema_inline ( )
inline

Clears the 'schemaInline' attribute.

◆ clear_schema_inline_format()

void google_bigquery_api::JobConfigurationLoad::clear_schema_inline_format ( )
inline

Clears the 'schemaInlineFormat' attribute.

◆ clear_schema_update_options()

void google_bigquery_api::JobConfigurationLoad::clear_schema_update_options ( )
inline

Clears the 'schemaUpdateOptions' attribute.

◆ clear_skip_leading_rows()

void google_bigquery_api::JobConfigurationLoad::clear_skip_leading_rows ( )
inline

Clears the 'skipLeadingRows' attribute.

◆ clear_source_format()

void google_bigquery_api::JobConfigurationLoad::clear_source_format ( )
inline

Clears the 'sourceFormat' attribute.

◆ clear_source_uris()

void google_bigquery_api::JobConfigurationLoad::clear_source_uris ( )
inline

Clears the 'sourceUris' attribute.

◆ clear_time_partitioning()

void google_bigquery_api::JobConfigurationLoad::clear_time_partitioning ( )
inline

Clears the 'timePartitioning' attribute.

◆ clear_use_avro_logical_types()

void google_bigquery_api::JobConfigurationLoad::clear_use_avro_logical_types ( )
inline

Clears the 'useAvroLogicalTypes' attribute.

◆ clear_write_disposition()

void google_bigquery_api::JobConfigurationLoad::clear_write_disposition ( )
inline

Clears the 'writeDisposition' attribute.

◆ get_allow_jagged_rows()

bool google_bigquery_api::JobConfigurationLoad::get_allow_jagged_rows ( ) const
inline

Get the value of the 'allowJaggedRows' attribute.

◆ get_allow_quoted_newlines()

bool google_bigquery_api::JobConfigurationLoad::get_allow_quoted_newlines ( ) const
inline

Get the value of the 'allowQuotedNewlines' attribute.

◆ get_autodetect()

bool google_bigquery_api::JobConfigurationLoad::get_autodetect ( ) const
inline

Get the value of the 'autodetect' attribute.

◆ get_clustering()

const Clustering google_bigquery_api::JobConfigurationLoad::get_clustering ( ) const

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

◆ get_create_disposition()

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

Get the value of the 'createDisposition' attribute.

◆ get_destination_encryption_configuration()

const EncryptionConfiguration google_bigquery_api::JobConfigurationLoad::get_destination_encryption_configuration ( ) const

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

◆ get_destination_table()

const TableReference google_bigquery_api::JobConfigurationLoad::get_destination_table ( ) const

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

◆ get_destination_table_properties()

const DestinationTableProperties google_bigquery_api::JobConfigurationLoad::get_destination_table_properties ( ) const

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

◆ get_encoding()

const StringPiece google_bigquery_api::JobConfigurationLoad::get_encoding ( ) const
inline

Get the value of the 'encoding' attribute.

◆ get_field_delimiter()

const StringPiece google_bigquery_api::JobConfigurationLoad::get_field_delimiter ( ) const
inline

Get the value of the 'fieldDelimiter' attribute.

◆ get_hive_partitioning_mode()

const StringPiece google_bigquery_api::JobConfigurationLoad::get_hive_partitioning_mode ( ) const
inline

Get the value of the 'hivePartitioningMode' attribute.

◆ get_hive_partitioning_options()

const HivePartitioningOptions google_bigquery_api::JobConfigurationLoad::get_hive_partitioning_options ( ) const

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

◆ get_ignore_unknown_values()

bool google_bigquery_api::JobConfigurationLoad::get_ignore_unknown_values ( ) const
inline

Get the value of the 'ignoreUnknownValues' attribute.

◆ get_max_bad_records()

int32 google_bigquery_api::JobConfigurationLoad::get_max_bad_records ( ) const
inline

Get the value of the 'maxBadRecords' attribute.

◆ get_null_marker()

const StringPiece google_bigquery_api::JobConfigurationLoad::get_null_marker ( ) const
inline

Get the value of the 'nullMarker' attribute.

◆ get_projection_fields()

const client::JsonCppArray<string > google_bigquery_api::JobConfigurationLoad::get_projection_fields ( ) const
inline

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

◆ get_quote()

const StringPiece google_bigquery_api::JobConfigurationLoad::get_quote ( ) const
inline

Get the value of the 'quote' attribute.

◆ get_range_partitioning()

const RangePartitioning google_bigquery_api::JobConfigurationLoad::get_range_partitioning ( ) const

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

◆ get_schema()

const TableSchema google_bigquery_api::JobConfigurationLoad::get_schema ( ) const

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

◆ get_schema_inline()

const StringPiece google_bigquery_api::JobConfigurationLoad::get_schema_inline ( ) const
inline

Get the value of the 'schemaInline' attribute.

◆ get_schema_inline_format()

const StringPiece google_bigquery_api::JobConfigurationLoad::get_schema_inline_format ( ) const
inline

Get the value of the 'schemaInlineFormat' attribute.

◆ get_schema_update_options()

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

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

◆ get_skip_leading_rows()

int32 google_bigquery_api::JobConfigurationLoad::get_skip_leading_rows ( ) const
inline

Get the value of the 'skipLeadingRows' attribute.

◆ get_source_format()

const StringPiece google_bigquery_api::JobConfigurationLoad::get_source_format ( ) const
inline

Get the value of the 'sourceFormat' attribute.

◆ get_source_uris()

const client::JsonCppArray<string > google_bigquery_api::JobConfigurationLoad::get_source_uris ( ) const
inline

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

◆ get_time_partitioning()

const TimePartitioning google_bigquery_api::JobConfigurationLoad::get_time_partitioning ( ) const

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

◆ get_use_avro_logical_types()

bool google_bigquery_api::JobConfigurationLoad::get_use_avro_logical_types ( ) const
inline

Get the value of the 'useAvroLogicalTypes' attribute.

◆ get_write_disposition()

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

Get the value of the 'writeDisposition' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::JobConfigurationLoad

◆ has_allow_jagged_rows()

bool google_bigquery_api::JobConfigurationLoad::has_allow_jagged_rows ( ) const
inline

Determine if the 'allowJaggedRows' attribute was set.

Returns
true if the 'allowJaggedRows' attribute was set.

◆ has_allow_quoted_newlines()

bool google_bigquery_api::JobConfigurationLoad::has_allow_quoted_newlines ( ) const
inline

Determine if the 'allowQuotedNewlines' attribute was set.

Returns
true if the 'allowQuotedNewlines' attribute was set.

◆ has_autodetect()

bool google_bigquery_api::JobConfigurationLoad::has_autodetect ( ) const
inline

Determine if the 'autodetect' attribute was set.

Returns
true if the 'autodetect' attribute was set.

◆ has_clustering()

bool google_bigquery_api::JobConfigurationLoad::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::JobConfigurationLoad::has_create_disposition ( ) const
inline

Determine if the 'createDisposition' attribute was set.

Returns
true if the 'createDisposition' attribute was set.

◆ has_destination_encryption_configuration()

bool google_bigquery_api::JobConfigurationLoad::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::JobConfigurationLoad::has_destination_table ( ) const
inline

Determine if the 'destinationTable' attribute was set.

Returns
true if the 'destinationTable' attribute was set.

◆ has_destination_table_properties()

bool google_bigquery_api::JobConfigurationLoad::has_destination_table_properties ( ) const
inline

Determine if the 'destinationTableProperties' attribute was set.

Returns
true if the 'destinationTableProperties' attribute was set.

◆ has_encoding()

bool google_bigquery_api::JobConfigurationLoad::has_encoding ( ) const
inline

Determine if the 'encoding' attribute was set.

Returns
true if the 'encoding' attribute was set.

◆ has_field_delimiter()

bool google_bigquery_api::JobConfigurationLoad::has_field_delimiter ( ) const
inline

Determine if the 'fieldDelimiter' attribute was set.

Returns
true if the 'fieldDelimiter' attribute was set.

◆ has_hive_partitioning_mode()

bool google_bigquery_api::JobConfigurationLoad::has_hive_partitioning_mode ( ) const
inline

Determine if the 'hivePartitioningMode' attribute was set.

Returns
true if the 'hivePartitioningMode' attribute was set.

◆ has_hive_partitioning_options()

bool google_bigquery_api::JobConfigurationLoad::has_hive_partitioning_options ( ) const
inline

Determine if the 'hivePartitioningOptions' attribute was set.

Returns
true if the 'hivePartitioningOptions' attribute was set.

◆ has_ignore_unknown_values()

bool google_bigquery_api::JobConfigurationLoad::has_ignore_unknown_values ( ) const
inline

Determine if the 'ignoreUnknownValues' attribute was set.

Returns
true if the 'ignoreUnknownValues' attribute was set.

◆ has_max_bad_records()

bool google_bigquery_api::JobConfigurationLoad::has_max_bad_records ( ) const
inline

Determine if the 'maxBadRecords' attribute was set.

Returns
true if the 'maxBadRecords' attribute was set.

◆ has_null_marker()

bool google_bigquery_api::JobConfigurationLoad::has_null_marker ( ) const
inline

Determine if the 'nullMarker' attribute was set.

Returns
true if the 'nullMarker' attribute was set.

◆ has_projection_fields()

bool google_bigquery_api::JobConfigurationLoad::has_projection_fields ( ) const
inline

Determine if the 'projectionFields' attribute was set.

Returns
true if the 'projectionFields' attribute was set.

◆ has_quote()

bool google_bigquery_api::JobConfigurationLoad::has_quote ( ) const
inline

Determine if the 'quote' attribute was set.

Returns
true if the 'quote' attribute was set.

◆ has_range_partitioning()

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

Determine if the 'rangePartitioning' attribute was set.

Returns
true if the 'rangePartitioning' attribute was set.

◆ has_schema()

bool google_bigquery_api::JobConfigurationLoad::has_schema ( ) const
inline

Determine if the 'schema' attribute was set.

Returns
true if the 'schema' attribute was set.

◆ has_schema_inline()

bool google_bigquery_api::JobConfigurationLoad::has_schema_inline ( ) const
inline

Determine if the 'schemaInline' attribute was set.

Returns
true if the 'schemaInline' attribute was set.

◆ has_schema_inline_format()

bool google_bigquery_api::JobConfigurationLoad::has_schema_inline_format ( ) const
inline

Determine if the 'schemaInlineFormat' attribute was set.

Returns
true if the 'schemaInlineFormat' attribute was set.

◆ has_schema_update_options()

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

Determine if the 'schemaUpdateOptions' attribute was set.

Returns
true if the 'schemaUpdateOptions' attribute was set.

◆ has_skip_leading_rows()

bool google_bigquery_api::JobConfigurationLoad::has_skip_leading_rows ( ) const
inline

Determine if the 'skipLeadingRows' attribute was set.

Returns
true if the 'skipLeadingRows' attribute was set.

◆ has_source_format()

bool google_bigquery_api::JobConfigurationLoad::has_source_format ( ) const
inline

Determine if the 'sourceFormat' attribute was set.

Returns
true if the 'sourceFormat' attribute was set.

◆ has_source_uris()

bool google_bigquery_api::JobConfigurationLoad::has_source_uris ( ) const
inline

Determine if the 'sourceUris' attribute was set.

Returns
true if the 'sourceUris' attribute was set.

◆ has_time_partitioning()

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

Determine if the 'timePartitioning' attribute was set.

Returns
true if the 'timePartitioning' attribute was set.

◆ has_use_avro_logical_types()

bool google_bigquery_api::JobConfigurationLoad::has_use_avro_logical_types ( ) const
inline

Determine if the 'useAvroLogicalTypes' attribute was set.

Returns
true if the 'useAvroLogicalTypes' attribute was set.

◆ has_write_disposition()

bool google_bigquery_api::JobConfigurationLoad::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::JobConfigurationLoad::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_destinationEncryptionConfiguration()

EncryptionConfiguration google_bigquery_api::JobConfigurationLoad::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::JobConfigurationLoad::mutable_destinationTable ( )

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

[Required] The destination table to load the data into.

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

◆ mutable_destinationTableProperties()

DestinationTableProperties google_bigquery_api::JobConfigurationLoad::mutable_destinationTableProperties ( )

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

[Beta] [Optional] Properties with which to create the destination table if it is new.

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

◆ mutable_hivePartitioningOptions()

HivePartitioningOptions google_bigquery_api::JobConfigurationLoad::mutable_hivePartitioningOptions ( )

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

[Optional, Trusted Tester] Options to configure hive partitioning support.

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

◆ mutable_projectionFields()

client::JsonCppArray<string > google_bigquery_api::JobConfigurationLoad::mutable_projectionFields ( )
inline

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

If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.

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

◆ mutable_rangePartitioning()

RangePartitioning google_bigquery_api::JobConfigurationLoad::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_schema()

TableSchema google_bigquery_api::JobConfigurationLoad::mutable_schema ( )

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

[Optional] The schema for the destination table. The schema can be omitted if the destination table already exists, or if you're loading data from Google Cloud Datastore.

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

◆ mutable_schemaUpdateOptions()

client::JsonCppArray<string > google_bigquery_api::JobConfigurationLoad::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 load job if a schema is autodetected or supplied in the job configuration. 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_sourceUris()

client::JsonCppArray<string > google_bigquery_api::JobConfigurationLoad::mutable_sourceUris ( )
inline

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

[Required] The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups: Exactly one URI can be specified. Also, the '*' wildcard character is not allowed.

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

◆ mutable_timePartitioning()

TimePartitioning google_bigquery_api::JobConfigurationLoad::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.

◆ New()

JobConfigurationLoad * google_bigquery_api::JobConfigurationLoad::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_allow_jagged_rows()

void google_bigquery_api::JobConfigurationLoad::set_allow_jagged_rows ( bool  value)
inline

Change the 'allowJaggedRows' attribute.

[Optional] Accept rows that are missing trailing optional columns. The missing values are treated as nulls. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. Only applicable to CSV, ignored for other formats.

Parameters
[in]valueThe new value.

◆ set_allow_quoted_newlines()

void google_bigquery_api::JobConfigurationLoad::set_allow_quoted_newlines ( bool  value)
inline

Change the 'allowQuotedNewlines' attribute.

Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false.

Parameters
[in]valueThe new value.

◆ set_autodetect()

void google_bigquery_api::JobConfigurationLoad::set_autodetect ( bool  value)
inline

Change the 'autodetect' attribute.

[Optional] Indicates if we should automatically infer the options and schema for CSV and JSON sources.

Parameters
[in]valueThe new value.

◆ set_create_disposition()

void google_bigquery_api::JobConfigurationLoad::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_encoding()

void google_bigquery_api::JobConfigurationLoad::set_encoding ( const StringPiece &  value)
inline

Change the 'encoding' attribute.

[Optional] The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties.

Parameters
[in]valueThe new value.

◆ set_field_delimiter()

void google_bigquery_api::JobConfigurationLoad::set_field_delimiter ( const StringPiece &  value)
inline

Change the 'fieldDelimiter' attribute.

[Optional] The separator for fields in a CSV file. The separator can be any ISO-8859-1 single-byte character. To use a character in the range 128-255, you must encode the character as UTF8. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (',').

Parameters
[in]valueThe new value.

◆ set_hive_partitioning_mode()

void google_bigquery_api::JobConfigurationLoad::set_hive_partitioning_mode ( const StringPiece &  value)
inline

Change the 'hivePartitioningMode' attribute.

[Optional, Trusted Tester] Deprecated, do not use. Please set hivePartitioningOptions instead.

Parameters
[in]valueThe new value.

◆ set_ignore_unknown_values()

void google_bigquery_api::JobConfigurationLoad::set_ignore_unknown_values ( bool  value)
inline

Change the 'ignoreUnknownValues' attribute.

[Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names.

Parameters
[in]valueThe new value.

◆ set_max_bad_records()

void google_bigquery_api::JobConfigurationLoad::set_max_bad_records ( int32  value)
inline

Change the 'maxBadRecords' attribute.

[Optional] The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. This is only valid for CSV and JSON. The default value is 0, which requires that all records are valid.

Parameters
[in]valueThe new value.

◆ set_null_marker()

void google_bigquery_api::JobConfigurationLoad::set_null_marker ( const StringPiece &  value)
inline

Change the 'nullMarker' attribute.

[Optional] Specifies a string that represents a null value in a CSV file. For example, if you specify "\N", BigQuery interprets "\N" as a null value when loading a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value.

Parameters
[in]valueThe new value.

◆ set_quote()

void google_bigquery_api::JobConfigurationLoad::set_quote ( const StringPiece &  value)
inline

Change the 'quote' attribute.

[Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true.

Parameters
[in]valueThe new value.

◆ set_schema_inline()

void google_bigquery_api::JobConfigurationLoad::set_schema_inline ( const StringPiece &  value)
inline

Change the 'schemaInline' attribute.

Deprecated:

[Deprecated] The inline schema. For CSV schemas, specify as "Field1:Type1[,Field2:Type2]*". For example, "foo:STRING, bar:INTEGER, baz:FLOAT".

Parameters
[in]valueThe new value.

◆ set_schema_inline_format()

void google_bigquery_api::JobConfigurationLoad::set_schema_inline_format ( const StringPiece &  value)
inline

Change the 'schemaInlineFormat' attribute.

Deprecated:

[Deprecated] The format of the schemaInline property.

Parameters
[in]valueThe new value.

◆ set_skip_leading_rows()

void google_bigquery_api::JobConfigurationLoad::set_skip_leading_rows ( int32  value)
inline

Change the 'skipLeadingRows' attribute.

[Optional] The number of rows at the top of a CSV file that BigQuery will skip when loading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped.

Parameters
[in]valueThe new value.

◆ set_source_format()

void google_bigquery_api::JobConfigurationLoad::set_source_format ( const StringPiece &  value)
inline

Change the 'sourceFormat' attribute.

[Optional] The format of the data files. For CSV files, specify "CSV". For datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet, specify "PARQUET". For orc, specify "ORC". The default value is CSV.

Parameters
[in]valueThe new value.

◆ set_use_avro_logical_types()

void google_bigquery_api::JobConfigurationLoad::set_use_avro_logical_types ( bool  value)
inline

Change the 'useAvroLogicalTypes' attribute.

[Optional] If sourceFormat is set to "AVRO", indicates whether to enable interpreting logical types into their corresponding types (ie. TIMESTAMP), instead of only using their raw types (ie. INTEGER).

Parameters
[in]valueThe new value.

◆ set_write_disposition()

void google_bigquery_api::JobConfigurationLoad::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. 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_APPEND. 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: