bigquery
v2
|
#include <job_configuration_load.h>
Static Public Member Functions | |
static JobConfigurationLoad * | New () |
No description provided.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'allowJaggedRows
' attribute.
|
inline |
Clears the 'allowQuotedNewlines
' attribute.
|
inline |
Clears the 'autodetect
' attribute.
|
inline |
Clears the 'clustering
' attribute.
|
inline |
Clears the 'createDisposition
' attribute.
|
inline |
Clears the 'destinationEncryptionConfiguration
' attribute.
|
inline |
Clears the 'destinationTable
' attribute.
|
inline |
Clears the 'destinationTableProperties
' attribute.
|
inline |
Clears the 'encoding
' attribute.
|
inline |
Clears the 'fieldDelimiter
' attribute.
|
inline |
Clears the 'hivePartitioningMode
' attribute.
|
inline |
Clears the 'hivePartitioningOptions
' attribute.
|
inline |
Clears the 'ignoreUnknownValues
' attribute.
|
inline |
Clears the 'maxBadRecords
' attribute.
|
inline |
Clears the 'nullMarker
' attribute.
|
inline |
Clears the 'projectionFields
' attribute.
|
inline |
Clears the 'quote
' attribute.
|
inline |
Clears the 'rangePartitioning
' attribute.
|
inline |
Clears the 'schema
' attribute.
|
inline |
Clears the 'schemaInline
' attribute.
|
inline |
Clears the 'schemaInlineFormat
' attribute.
|
inline |
Clears the 'schemaUpdateOptions
' attribute.
|
inline |
Clears the 'skipLeadingRows
' attribute.
|
inline |
Clears the 'sourceFormat
' attribute.
|
inline |
Clears the 'sourceUris
' attribute.
|
inline |
Clears the 'timePartitioning
' attribute.
|
inline |
Clears the 'useAvroLogicalTypes
' attribute.
|
inline |
Clears the 'writeDisposition
' attribute.
|
inline |
Get the value of the 'allowJaggedRows
' attribute.
|
inline |
Get the value of the 'allowQuotedNewlines
' attribute.
|
inline |
Get the value of the 'autodetect
' attribute.
const Clustering google_bigquery_api::JobConfigurationLoad::get_clustering | ( | ) | const |
Get a reference to the value of the 'clustering
' attribute.
|
inline |
Get the value of the 'createDisposition
' attribute.
const EncryptionConfiguration google_bigquery_api::JobConfigurationLoad::get_destination_encryption_configuration | ( | ) | const |
Get a reference to the value of the 'destinationEncryptionConfiguration
' attribute.
const TableReference google_bigquery_api::JobConfigurationLoad::get_destination_table | ( | ) | const |
Get a reference to the value of the 'destinationTable
' attribute.
const DestinationTableProperties google_bigquery_api::JobConfigurationLoad::get_destination_table_properties | ( | ) | const |
Get a reference to the value of the 'destinationTableProperties
' attribute.
|
inline |
Get the value of the 'encoding
' attribute.
|
inline |
Get the value of the 'fieldDelimiter
' attribute.
|
inline |
Get the value of the 'hivePartitioningMode
' attribute.
const HivePartitioningOptions google_bigquery_api::JobConfigurationLoad::get_hive_partitioning_options | ( | ) | const |
Get a reference to the value of the 'hivePartitioningOptions
' attribute.
|
inline |
Get the value of the 'ignoreUnknownValues
' attribute.
|
inline |
Get the value of the 'maxBadRecords
' attribute.
|
inline |
Get the value of the 'nullMarker
' attribute.
|
inline |
Get a reference to the value of the 'projectionFields
' attribute.
|
inline |
Get the value of the 'quote
' attribute.
const RangePartitioning google_bigquery_api::JobConfigurationLoad::get_range_partitioning | ( | ) | const |
Get a reference to the value of the 'rangePartitioning
' attribute.
const TableSchema google_bigquery_api::JobConfigurationLoad::get_schema | ( | ) | const |
Get a reference to the value of the 'schema
' attribute.
|
inline |
Get the value of the 'schemaInline
' attribute.
|
inline |
Get the value of the 'schemaInlineFormat
' attribute.
|
inline |
Get a reference to the value of the 'schemaUpdateOptions
' attribute.
|
inline |
Get the value of the 'skipLeadingRows
' attribute.
|
inline |
Get the value of the 'sourceFormat
' attribute.
|
inline |
Get a reference to the value of the 'sourceUris
' attribute.
const TimePartitioning google_bigquery_api::JobConfigurationLoad::get_time_partitioning | ( | ) | const |
Get a reference to the value of the 'timePartitioning
' attribute.
|
inline |
Get the value of the 'useAvroLogicalTypes
' attribute.
|
inline |
Get the value of the 'writeDisposition
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'allowJaggedRows
' attribute was set.
allowJaggedRows
' attribute was set.
|
inline |
Determine if the 'allowQuotedNewlines
' attribute was set.
allowQuotedNewlines
' attribute was set.
|
inline |
Determine if the 'autodetect
' attribute was set.
autodetect
' attribute was set.
|
inline |
Determine if the 'clustering
' attribute was set.
clustering
' attribute was set.
|
inline |
Determine if the 'createDisposition
' attribute was set.
createDisposition
' attribute was set.
|
inline |
Determine if the 'destinationEncryptionConfiguration
' attribute was set.
destinationEncryptionConfiguration
' attribute was set.
|
inline |
Determine if the 'destinationTable
' attribute was set.
destinationTable
' attribute was set.
|
inline |
Determine if the 'destinationTableProperties
' attribute was set.
destinationTableProperties
' attribute was set.
|
inline |
Determine if the 'encoding
' attribute was set.
encoding
' attribute was set.
|
inline |
Determine if the 'fieldDelimiter
' attribute was set.
fieldDelimiter
' attribute was set.
|
inline |
Determine if the 'hivePartitioningMode
' attribute was set.
hivePartitioningMode
' attribute was set.
|
inline |
Determine if the 'hivePartitioningOptions
' attribute was set.
hivePartitioningOptions
' attribute was set.
|
inline |
Determine if the 'ignoreUnknownValues
' attribute was set.
ignoreUnknownValues
' attribute was set.
|
inline |
Determine if the 'maxBadRecords
' attribute was set.
maxBadRecords
' attribute was set.
|
inline |
Determine if the 'nullMarker
' attribute was set.
nullMarker
' attribute was set.
|
inline |
Determine if the 'projectionFields
' attribute was set.
projectionFields
' attribute was set.
|
inline |
Determine if the 'quote
' attribute was set.
quote
' attribute was set.
|
inline |
Determine if the 'rangePartitioning
' attribute was set.
rangePartitioning
' attribute was set.
|
inline |
Determine if the 'schema
' attribute was set.
schema
' attribute was set.
|
inline |
Determine if the 'schemaInline
' attribute was set.
schemaInline
' attribute was set.
|
inline |
Determine if the 'schemaInlineFormat
' attribute was set.
schemaInlineFormat
' attribute was set.
|
inline |
Determine if the 'schemaUpdateOptions
' attribute was set.
schemaUpdateOptions
' attribute was set.
|
inline |
Determine if the 'skipLeadingRows
' attribute was set.
skipLeadingRows
' attribute was set.
|
inline |
Determine if the 'sourceFormat
' attribute was set.
sourceFormat
' attribute was set.
|
inline |
Determine if the 'sourceUris
' attribute was set.
sourceUris
' attribute was set.
|
inline |
Determine if the 'timePartitioning
' attribute was set.
timePartitioning
' attribute was set.
|
inline |
Determine if the 'useAvroLogicalTypes
' attribute was set.
useAvroLogicalTypes
' attribute was set.
|
inline |
Determine if the 'writeDisposition
' attribute was set.
writeDisposition
' attribute was set. 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.
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).
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.
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.
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.
|
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.
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.
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.
|
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.
|
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.
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.
|
static |
Creates a new default instance.
|
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.
[in] | value | The new 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.
[in] | value | The new value. |
|
inline |
Change the 'autodetect
' attribute.
[Optional] Indicates if we should automatically infer the options and schema for CSV and JSON sources.
[in] | value | The new 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.
[in] | value | The new 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.
[in] | value | The new 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 (',').
[in] | value | The new value. |
|
inline |
Change the 'hivePartitioningMode
' attribute.
[Optional, Trusted Tester] Deprecated, do not use. Please set hivePartitioningOptions instead.
[in] | value | The new 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.
[in] | value | The new 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.
[in] | value | The new 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.
[in] | value | The new 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.
[in] | value | The new value. |
|
inline |
Change the 'schemaInline
' attribute.
[Deprecated] The inline schema. For CSV schemas, specify as "Field1:Type1[,Field2:Type2]*". For example, "foo:STRING, bar:INTEGER, baz:FLOAT".
[in] | value | The new value. |
|
inline |
Change the 'schemaInlineFormat
' attribute.
[Deprecated] The format of the schemaInline property.
[in] | value | The new 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.
[in] | value | The new 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.
[in] | value | The new 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).
[in] | value | The new 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.
[in] | value | The new value. |