public final class JobConfigurationLoad
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
JobConfigurationLoad() |
Modifier and Type | Method and Description |
---|---|
JobConfigurationLoad |
clone() |
java.lang.Boolean |
getAllowJaggedRows()
[Optional] Accept rows that are missing trailing optional columns.
|
java.lang.Boolean |
getAllowQuotedNewlines()
Indicates if BigQuery should allow quoted data sections that contain newline characters in a
CSV file.
|
java.lang.Boolean |
getAutodetect()
[Optional] Indicates if we should automatically infer the options and schema for CSV and JSON
sources.
|
Clustering |
getClustering()
[Beta] Clustering specification for the destination table.
|
java.lang.String |
getCreateDisposition()
[Optional] Specifies whether the job is allowed to create new tables.
|
EncryptionConfiguration |
getDestinationEncryptionConfiguration()
Custom encryption configuration (e.g., Cloud KMS keys).
|
TableReference |
getDestinationTable()
[Required] The destination table to load the data into.
|
DestinationTableProperties |
getDestinationTableProperties()
[Beta] [Optional] Properties with which to create the destination table if it is new.
|
java.lang.String |
getEncoding()
[Optional] The character encoding of the data.
|
java.lang.String |
getFieldDelimiter()
[Optional] The separator for fields in a CSV file.
|
java.lang.String |
getHivePartitioningMode()
[Optional, Trusted Tester] Deprecated, do not use.
|
HivePartitioningOptions |
getHivePartitioningOptions()
[Optional, Trusted Tester] Options to configure hive partitioning support.
|
java.lang.Boolean |
getIgnoreUnknownValues()
[Optional] Indicates if BigQuery should allow extra values that are not represented in the
table schema.
|
java.lang.Integer |
getMaxBadRecords()
[Optional] The maximum number of bad records that BigQuery can ignore when running the job.
|
java.lang.String |
getNullMarker()
[Optional] Specifies a string that represents a null value in a CSV file.
|
java.util.List<java.lang.String> |
getProjectionFields()
If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into
BigQuery from a Cloud Datastore backup.
|
java.lang.String |
getQuote()
[Optional] The value that is used to quote data sections in a CSV file.
|
RangePartitioning |
getRangePartitioning()
[TrustedTester] Range partitioning specification for this table.
|
TableSchema |
getSchema()
[Optional] The schema for the destination table.
|
java.lang.String |
getSchemaInline()
[Deprecated] The inline schema.
|
java.lang.String |
getSchemaInlineFormat()
[Deprecated] The format of the schemaInline property.
|
java.util.List<java.lang.String> |
getSchemaUpdateOptions()
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.
|
java.lang.Integer |
getSkipLeadingRows()
[Optional] The number of rows at the top of a CSV file that BigQuery will skip when loading the
data.
|
java.lang.String |
getSourceFormat()
[Optional] The format of the data files.
|
java.util.List<java.lang.String> |
getSourceUris()
[Required] The fully-qualified URIs that point to your data in Google Cloud.
|
TimePartitioning |
getTimePartitioning()
Time-based partitioning specification for the destination table.
|
java.lang.Boolean |
getUseAvroLogicalTypes()
[Optional] If sourceFormat is set to "AVRO", indicates whether to enable interpreting logical
types into their corresponding types (ie.
|
java.lang.String |
getWriteDisposition()
[Optional] Specifies the action that occurs if the destination table already exists.
|
JobConfigurationLoad |
set(java.lang.String fieldName,
java.lang.Object value) |
JobConfigurationLoad |
setAllowJaggedRows(java.lang.Boolean allowJaggedRows)
[Optional] Accept rows that are missing trailing optional columns.
|
JobConfigurationLoad |
setAllowQuotedNewlines(java.lang.Boolean allowQuotedNewlines)
Indicates if BigQuery should allow quoted data sections that contain newline characters in a
CSV file.
|
JobConfigurationLoad |
setAutodetect(java.lang.Boolean autodetect)
[Optional] Indicates if we should automatically infer the options and schema for CSV and JSON
sources.
|
JobConfigurationLoad |
setClustering(Clustering clustering)
[Beta] Clustering specification for the destination table.
|
JobConfigurationLoad |
setCreateDisposition(java.lang.String createDisposition)
[Optional] Specifies whether the job is allowed to create new tables.
|
JobConfigurationLoad |
setDestinationEncryptionConfiguration(EncryptionConfiguration destinationEncryptionConfiguration)
Custom encryption configuration (e.g., Cloud KMS keys).
|
JobConfigurationLoad |
setDestinationTable(TableReference destinationTable)
[Required] The destination table to load the data into.
|
JobConfigurationLoad |
setDestinationTableProperties(DestinationTableProperties destinationTableProperties)
[Beta] [Optional] Properties with which to create the destination table if it is new.
|
JobConfigurationLoad |
setEncoding(java.lang.String encoding)
[Optional] The character encoding of the data.
|
JobConfigurationLoad |
setFieldDelimiter(java.lang.String fieldDelimiter)
[Optional] The separator for fields in a CSV file.
|
JobConfigurationLoad |
setHivePartitioningMode(java.lang.String hivePartitioningMode)
[Optional, Trusted Tester] Deprecated, do not use.
|
JobConfigurationLoad |
setHivePartitioningOptions(HivePartitioningOptions hivePartitioningOptions)
[Optional, Trusted Tester] Options to configure hive partitioning support.
|
JobConfigurationLoad |
setIgnoreUnknownValues(java.lang.Boolean ignoreUnknownValues)
[Optional] Indicates if BigQuery should allow extra values that are not represented in the
table schema.
|
JobConfigurationLoad |
setMaxBadRecords(java.lang.Integer maxBadRecords)
[Optional] The maximum number of bad records that BigQuery can ignore when running the job.
|
JobConfigurationLoad |
setNullMarker(java.lang.String nullMarker)
[Optional] Specifies a string that represents a null value in a CSV file.
|
JobConfigurationLoad |
setProjectionFields(java.util.List<java.lang.String> projectionFields)
If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into
BigQuery from a Cloud Datastore backup.
|
JobConfigurationLoad |
setQuote(java.lang.String quote)
[Optional] The value that is used to quote data sections in a CSV file.
|
JobConfigurationLoad |
setRangePartitioning(RangePartitioning rangePartitioning)
[TrustedTester] Range partitioning specification for this table.
|
JobConfigurationLoad |
setSchema(TableSchema schema)
[Optional] The schema for the destination table.
|
JobConfigurationLoad |
setSchemaInline(java.lang.String schemaInline)
[Deprecated] The inline schema.
|
JobConfigurationLoad |
setSchemaInlineFormat(java.lang.String schemaInlineFormat)
[Deprecated] The format of the schemaInline property.
|
JobConfigurationLoad |
setSchemaUpdateOptions(java.util.List<java.lang.String> schemaUpdateOptions)
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.
|
JobConfigurationLoad |
setSkipLeadingRows(java.lang.Integer skipLeadingRows)
[Optional] The number of rows at the top of a CSV file that BigQuery will skip when loading the
data.
|
JobConfigurationLoad |
setSourceFormat(java.lang.String sourceFormat)
[Optional] The format of the data files.
|
JobConfigurationLoad |
setSourceUris(java.util.List<java.lang.String> sourceUris)
[Required] The fully-qualified URIs that point to your data in Google Cloud.
|
JobConfigurationLoad |
setTimePartitioning(TimePartitioning timePartitioning)
Time-based partitioning specification for the destination table.
|
JobConfigurationLoad |
setUseAvroLogicalTypes(java.lang.Boolean useAvroLogicalTypes)
[Optional] If sourceFormat is set to "AVRO", indicates whether to enable interpreting logical
types into their corresponding types (ie.
|
JobConfigurationLoad |
setWriteDisposition(java.lang.String writeDisposition)
[Optional] Specifies the action that occurs if the destination table already exists.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getAllowJaggedRows()
null
for nonepublic JobConfigurationLoad setAllowJaggedRows(java.lang.Boolean allowJaggedRows)
allowJaggedRows
- allowJaggedRows or null
for nonepublic java.lang.Boolean getAllowQuotedNewlines()
null
for nonepublic JobConfigurationLoad setAllowQuotedNewlines(java.lang.Boolean allowQuotedNewlines)
allowQuotedNewlines
- allowQuotedNewlines or null
for nonepublic java.lang.Boolean getAutodetect()
null
for nonepublic JobConfigurationLoad setAutodetect(java.lang.Boolean autodetect)
autodetect
- autodetect or null
for nonepublic Clustering getClustering()
null
for nonepublic JobConfigurationLoad setClustering(Clustering clustering)
clustering
- clustering or null
for nonepublic java.lang.String getCreateDisposition()
null
for nonepublic JobConfigurationLoad setCreateDisposition(java.lang.String createDisposition)
createDisposition
- createDisposition or null
for nonepublic EncryptionConfiguration getDestinationEncryptionConfiguration()
null
for nonepublic JobConfigurationLoad setDestinationEncryptionConfiguration(EncryptionConfiguration destinationEncryptionConfiguration)
destinationEncryptionConfiguration
- destinationEncryptionConfiguration or null
for nonepublic TableReference getDestinationTable()
null
for nonepublic JobConfigurationLoad setDestinationTable(TableReference destinationTable)
destinationTable
- destinationTable or null
for nonepublic DestinationTableProperties getDestinationTableProperties()
null
for nonepublic JobConfigurationLoad setDestinationTableProperties(DestinationTableProperties destinationTableProperties)
destinationTableProperties
- destinationTableProperties or null
for nonepublic java.lang.String getEncoding()
null
for nonepublic JobConfigurationLoad setEncoding(java.lang.String encoding)
encoding
- encoding or null
for nonepublic java.lang.String getFieldDelimiter()
null
for nonepublic JobConfigurationLoad setFieldDelimiter(java.lang.String fieldDelimiter)
fieldDelimiter
- fieldDelimiter or null
for nonepublic java.lang.String getHivePartitioningMode()
null
for nonepublic JobConfigurationLoad setHivePartitioningMode(java.lang.String hivePartitioningMode)
hivePartitioningMode
- hivePartitioningMode or null
for nonepublic HivePartitioningOptions getHivePartitioningOptions()
null
for nonepublic JobConfigurationLoad setHivePartitioningOptions(HivePartitioningOptions hivePartitioningOptions)
hivePartitioningOptions
- hivePartitioningOptions or null
for nonepublic java.lang.Boolean getIgnoreUnknownValues()
null
for nonepublic JobConfigurationLoad setIgnoreUnknownValues(java.lang.Boolean ignoreUnknownValues)
ignoreUnknownValues
- ignoreUnknownValues or null
for nonepublic java.lang.Integer getMaxBadRecords()
null
for nonepublic JobConfigurationLoad setMaxBadRecords(java.lang.Integer maxBadRecords)
maxBadRecords
- maxBadRecords or null
for nonepublic java.lang.String getNullMarker()
null
for nonepublic JobConfigurationLoad setNullMarker(java.lang.String nullMarker)
nullMarker
- nullMarker or null
for nonepublic java.util.List<java.lang.String> getProjectionFields()
null
for nonepublic JobConfigurationLoad setProjectionFields(java.util.List<java.lang.String> projectionFields)
projectionFields
- projectionFields or null
for nonepublic java.lang.String getQuote()
null
for nonepublic JobConfigurationLoad setQuote(java.lang.String quote)
quote
- quote or null
for nonepublic RangePartitioning getRangePartitioning()
null
for nonepublic JobConfigurationLoad setRangePartitioning(RangePartitioning rangePartitioning)
rangePartitioning
- rangePartitioning or null
for nonepublic TableSchema getSchema()
null
for nonepublic JobConfigurationLoad setSchema(TableSchema schema)
schema
- schema or null
for nonepublic java.lang.String getSchemaInline()
null
for nonepublic JobConfigurationLoad setSchemaInline(java.lang.String schemaInline)
schemaInline
- schemaInline or null
for nonepublic java.lang.String getSchemaInlineFormat()
null
for nonepublic JobConfigurationLoad setSchemaInlineFormat(java.lang.String schemaInlineFormat)
schemaInlineFormat
- schemaInlineFormat or null
for nonepublic java.util.List<java.lang.String> getSchemaUpdateOptions()
null
for nonepublic JobConfigurationLoad setSchemaUpdateOptions(java.util.List<java.lang.String> schemaUpdateOptions)
schemaUpdateOptions
- schemaUpdateOptions or null
for nonepublic java.lang.Integer getSkipLeadingRows()
null
for nonepublic JobConfigurationLoad setSkipLeadingRows(java.lang.Integer skipLeadingRows)
skipLeadingRows
- skipLeadingRows or null
for nonepublic java.lang.String getSourceFormat()
null
for nonepublic JobConfigurationLoad setSourceFormat(java.lang.String sourceFormat)
sourceFormat
- sourceFormat or null
for nonepublic java.util.List<java.lang.String> getSourceUris()
null
for nonepublic JobConfigurationLoad setSourceUris(java.util.List<java.lang.String> sourceUris)
sourceUris
- sourceUris or null
for nonepublic TimePartitioning getTimePartitioning()
null
for nonepublic JobConfigurationLoad setTimePartitioning(TimePartitioning timePartitioning)
timePartitioning
- timePartitioning or null
for nonepublic java.lang.Boolean getUseAvroLogicalTypes()
null
for nonepublic JobConfigurationLoad setUseAvroLogicalTypes(java.lang.Boolean useAvroLogicalTypes)
useAvroLogicalTypes
- useAvroLogicalTypes or null
for nonepublic java.lang.String getWriteDisposition()
null
for nonepublic JobConfigurationLoad setWriteDisposition(java.lang.String writeDisposition)
writeDisposition
- writeDisposition or null
for nonepublic JobConfigurationLoad set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public JobConfigurationLoad clone()
clone
in class com.google.api.client.json.GenericJson